<div dir="ltr">Dear Stephan,<div><br></div><div>thank you for your answer and for pointing me in the right direction.</div><div>It was very helpful. I added cpu definitions to tsdbrc and now I am able to parse and generate with my little grammar.</div>
<div>Then I tried to follow instructions on this page: <a href="http://moin.delph-in.net/MtSetup" target="_blank">http://moin.delph-in.net/MtSetup</a></div><div>Both of my grammars are very small and I think I don't need any transfer rules. I created them using Matrix customization page. Anyway, I couldn't find any documentation how to create transfer grammars. I found this page - <a href="http://moin.delph-in.net/RmrsVpm">http://moin.delph-in.net/RmrsVpm</a> that describes separate rules but not how to create a whole grammar. </div>
<div style>If you could me tell me more about it I would be very grateful.</div><div><br></div><div style>Thank you in advance.</div><div style><br></div><div style>Best regards,</div><div style>Nargiza</div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On 19 April 2013 19:30, Stephan Oepen <span dir="ltr"><<a href="mailto:oe@ifi.uio.no" target="_blank">oe@ifi.uio.no</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
hi nargiza,<br>
<br>
from the modified script and log you sent, things look<br>
plausible to me. the LOGON binary will establish the<br>
web server, i.e. it services HTTP requests at the port<br>
you specified. the main entry point should be at the<br>
following URL then:<br>
<br>
http://localhost:port/logon<br>
<br>
but if you cannot bind to the port in the first place, it<br>
would seem something more basic went wrong.<br>
<br>
probably not the source of your problem, but the<br>
value to *www-title* should be a string.<br>
<br>
actually, looking closer at your log file, there is no trace<br>
of the commands after read-script-file-aux(). do you<br>
actually have the :kir [incr tsdb()] cpu definitions?<br>
<br>
if you add ‘---cat’ as the first argument to the ‘www’<br>
script, it will just print out the commands piped into<br>
the LOGON binary. to debug, i then sometimes run<br>
things interactive, i.e. start the LOGON binary and<br>
one-by-one paste the commands from the script into<br>
it.<br>
<br>
i hope some of this may be helpful!? oe<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
On Fri, Apr 19, 2013 at 8:15 PM, Nargiza Sarkulova <<a href="mailto:ns554@cam.ac.uk">ns554@cam.ac.uk</a>> wrote:<br>
> Dear LOGON mailing list members,<br>
><br>
> my name is Nargiza Sarkulova and I am a student of the University of<br>
> Cambridge.<br>
> I am not sure who I should write to so I hope it is the right place to ask.<br>
> I am trying to build a very small Kyrgyz-English MT Online Demonstrator. I<br>
> would really appreciate if you could help me with it because I got stuck at<br>
> some point.<br>
><br>
> My OS is Ubuntu 12.04, 64 bit.<br>
> I was following instructions on this page:<br>
> <a href="http://moin.delph-in.net/LogonOnline" target="_blank">http://moin.delph-in.net/LogonOnline</a><br>
> I edited www script taking as example other grammars. I am attaching my<br>
> version (I removed other grammars commands so I can see clearly what's going<br>
> on).<br>
> Also I created two files, kir.html and kir.js, and put them in<br>
> lingo/lkb/src/tsdb/html and lingo/lkb/src/tsdb/js accordingly. I copied the<br>
> html structure of kir.html from other grammars and obtained kir.js content<br>
> following instructions in "Exporting Example Inputs from [incr tsdb()]"<br>
> section. I copied my Kyrgyz grammar to LOGON root directory.<br>
><br>
> Then I run my www script following "Running a Web Demo" section using<br>
> command:<br>
> ./www --binary --kir --port 8888<br>
> I attached output of this command in a file called output.txt. It seems<br>
> running without errors and ends up with prompt listening to user input. I<br>
> don't know what it means... In the instructions it says: "The above should<br>
> result in an on-line web demo at port 8888 of your web server." I am<br>
> completely lost at this point. Should I have some web server pre-installed?<br>
> I tried URLs like <a href="http://localhost:8888" target="_blank">http://localhost:8888</a> or <a href="http://localhost:8888/kir" target="_blank">http://localhost:8888/kir</a> but it<br>
> doesn't work. Also I scanned with netstat ports but port 8888 doesn't seem<br>
> to be listening to any input.<br>
><br>
> Also I will have to add the second grammar - English. I am not sure how to<br>
> add it so they will interact correctly.<br>
><br>
> I hope you can advise me what I should do next with LOGON.<br>
> Thank you very much.<br>
><br>
> Best regards,<br>
> Nargiza<br>
</div></div></blockquote></div><br></div>