<div dir="ltr">Dear Stephan,<div><br></div><div style>after a lot of guessing I figured it out. It seems everything works now.</div><div style>Thank you very much for your help and tips.</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 20 April 2013 18:26, Nargiza Sarkulova <span dir="ltr">&lt;<a href="mailto:ns554@cam.ac.uk" target="_blank">ns554@cam.ac.uk</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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&#39;t need any transfer rules.  I created them using Matrix customization page. Anyway, I couldn&#39;t find any documentation how to create transfer grammars. I found this page - <a href="http://moin.delph-in.net/RmrsVpm" target="_blank">http://moin.delph-in.net/RmrsVpm</a> that describes separate rules but not how to create a whole grammar. </div>

<div>If you could me tell me more about it I would be very grateful.</div><div><br></div><div>Thank you in advance.</div><div><br></div><div>Best regards,</div><div>Nargiza</div></div><div class="HOEnZb"><div class="h5">
<div class="gmail_extra">
<br><br><div class="gmail_quote">On 19 April 2013 19:30, Stephan Oepen <span dir="ltr">&lt;<a href="mailto:oe@ifi.uio.no" target="_blank">oe@ifi.uio.no</a>&gt;</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><div><br>
<br>
On Fri, Apr 19, 2013 at 8:15 PM, Nargiza Sarkulova &lt;<a href="mailto:ns554@cam.ac.uk" target="_blank">ns554@cam.ac.uk</a>&gt; wrote:<br>
&gt; Dear LOGON mailing list members,<br>
&gt;<br>
&gt; my name is Nargiza Sarkulova and I am a student of the University of<br>
&gt; Cambridge.<br>
&gt; I am not sure who I should write to so I hope it is the right place to ask.<br>
&gt; I am trying to build a very small Kyrgyz-English MT Online Demonstrator. I<br>
&gt; would really appreciate if you could help me with it because I got stuck at<br>
&gt; some point.<br>
&gt;<br>
&gt; My OS is Ubuntu 12.04, 64 bit.<br>
&gt; I was following instructions on this page:<br>
&gt; <a href="http://moin.delph-in.net/LogonOnline" target="_blank">http://moin.delph-in.net/LogonOnline</a><br>
&gt; I edited www script taking as example other grammars. I am attaching my<br>
&gt; version (I removed other grammars commands so I can see clearly what&#39;s going<br>
&gt; on).<br>
&gt; Also I created two files, kir.html and kir.js, and put them in<br>
&gt; lingo/lkb/src/tsdb/html and lingo/lkb/src/tsdb/js accordingly. I copied the<br>
&gt; html structure of kir.html from other grammars and obtained kir.js content<br>
&gt; following instructions in &quot;Exporting Example Inputs from [incr tsdb()]&quot;<br>
&gt; section. I copied my Kyrgyz grammar to LOGON root directory.<br>
&gt;<br>
&gt; Then I run my www script following &quot;Running a Web Demo&quot; section using<br>
&gt; command:<br>
&gt; ./www --binary --kir --port 8888<br>
&gt; I attached output of this command in a file called output.txt. It seems<br>
&gt; running without errors and ends up with prompt listening to user input. I<br>
&gt; don&#39;t know what it means... In the instructions it says: &quot;The above should<br>
&gt; result in an on-line web demo at port 8888 of your web server.&quot; I am<br>
&gt; completely lost at this point. Should I have some web server pre-installed?<br>
&gt; 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>
&gt; doesn&#39;t work. Also I scanned with netstat ports but port 8888 doesn&#39;t seem<br>
&gt; to be listening to any input.<br>
&gt;<br>
&gt; Also I will have to add the second grammar - English. I am not sure how to<br>
&gt; add it so they will interact correctly.<br>
&gt;<br>
&gt; I hope you can advise me what I should do next with LOGON.<br>
&gt; Thank you very much.<br>
&gt;<br>
&gt; Best regards,<br>
&gt; Nargiza<br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>