<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>52nlp&#039;s Learning Notes &#187; cygwin</title>
	<atom:link href="http://www.52nlp.com/tag/cygwin/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.52nlp.com</link>
	<description>Natural Language Processing, Machine Learning, Programming Skill, Mathematics</description>
	<lastBuildDate>Sat, 23 Apr 2011 05:17:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.1</generator>
		<item>
		<title>Moses Support Digest:moses for cygwin</title>
		<link>http://www.52nlp.com/moses-support-digest-moses-for-cygwin/</link>
		<comments>http://www.52nlp.com/moses-support-digest-moses-for-cygwin/#comments</comments>
		<pubDate>Sun, 17 Jan 2010 02:41:19 +0000</pubDate>
		<dc:creator>52nlp</dc:creator>
				<category><![CDATA[Moses]]></category>
		<category><![CDATA[SMT]]></category>
		<category><![CDATA[cygwin]]></category>
		<category><![CDATA[moses]]></category>
		<category><![CDATA[support]]></category>

		<guid isPermaLink="false">http://www.52nlp.com/?p=277</guid>
		<description><![CDATA[[Moses-support] moses for cygwin hello everyone: Is there somebody install moses in cygwin? when i install it in cygwin, the srilm does not install¡. Re:[Moses-support] moses for cygwin hello, srilm is not a part of moses, you need to install &#8230; <a href="http://www.52nlp.com/moses-support-digest-moses-for-cygwin/">Continue reading <span class="meta-nav">&#8594;</span></a>


Related posts:<ol><li><a href='http://www.52nlp.com/moses-support-digest-moses-decoder-results-on-cygwin-and-dos/' rel='bookmark' title='Permanent Link: Moses Support Digest:moses decoder results on cygwin and dos'>Moses Support Digest:moses decoder results on cygwin and dos</a></li>
<li><a href='http://www.52nlp.com/moses-support-digest-the-problem-with-the-installation-of-moses-on-windows-xp/' rel='bookmark' title='Permanent Link: Moses Support Digest: The problem with the installation of Moses on Windows XP'>Moses Support Digest: The problem with the installation of Moses on Windows XP</a></li>
<li><a href='http://www.52nlp.com/moses-support-digest-the-results-of-your-email-commands/' rel='bookmark' title='Permanent Link: Moses Support Digest:The results of your email commands'>Moses Support Digest:The results of your email commands</a></li>
<li><a href='http://www.52nlp.com/moses-support-digest-moses-threads-compilation-problem-with-randlm/' rel='bookmark' title='Permanent Link: Moses Support Digest:moses threads compilation problem with RandLM'>Moses Support Digest:moses threads compilation problem with RandLM</a></li>
<li><a href='http://www.52nlp.com/moses-support-digest-srilm-installation-problem/' rel='bookmark' title='Permanent Link: Moses Support Digest:SRILM installation problem'>Moses Support Digest:SRILM installation problem</a></li>
<li><a href='http://www.52nlp.com/moses-support-digest/' rel='bookmark' title='Permanent Link: Moses Support Digest: moses install on 64-bit'>Moses Support Digest: moses install on 64-bit</a></li>
<li><a href='http://www.52nlp.com/moses-support-digest-moses-installation/' rel='bookmark' title='Permanent Link: Moses Support Digest: moses installation'>Moses Support Digest: moses installation</a></li>
<li><a href='http://www.52nlp.com/moses-support-digest-compiling-on-mac/' rel='bookmark' title='Permanent Link: Moses Support Digest: compiling on Mac'>Moses Support Digest: compiling on Mac</a></li>
<li><a href='http://www.52nlp.com/moses-support-digest-binarized-srilm/' rel='bookmark' title='Permanent Link: Moses Support Digest:Binarized SRILM'>Moses Support Digest:Binarized SRILM</a></li>
<li><a href='http://www.52nlp.com/moses-support-digest-pos-lm/' rel='bookmark' title='Permanent Link: Moses Support Digest:POS LM'>Moses Support Digest:POS LM</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><strong>[Moses-support] moses for cygwin</strong></p>
<p>hello everyone:<br />
     Is there somebody install moses in cygwin? when i install it in cygwin, the srilm does not install¡.<br />
<span id="more-277"></span><br />
<strong>Re:[Moses-support] moses for cygwin</strong></p>
<p>hello,</p>
<p>srilm is not a part of moses, you need to install the LM library yourself (SRILM, RandLM or IRSTLM) and compile moses accordingly.</p>
<p>Regards<br />
Marcin</p>
<p><em>NOTICE:This is digested from the Moses-support mailing list, which supports for the moses SMT decoder.</em></p>


<p>Related posts:<ol><li><a href='http://www.52nlp.com/moses-support-digest-moses-decoder-results-on-cygwin-and-dos/' rel='bookmark' title='Permanent Link: Moses Support Digest:moses decoder results on cygwin and dos'>Moses Support Digest:moses decoder results on cygwin and dos</a></li>
<li><a href='http://www.52nlp.com/moses-support-digest-the-problem-with-the-installation-of-moses-on-windows-xp/' rel='bookmark' title='Permanent Link: Moses Support Digest: The problem with the installation of Moses on Windows XP'>Moses Support Digest: The problem with the installation of Moses on Windows XP</a></li>
<li><a href='http://www.52nlp.com/moses-support-digest-the-results-of-your-email-commands/' rel='bookmark' title='Permanent Link: Moses Support Digest:The results of your email commands'>Moses Support Digest:The results of your email commands</a></li>
<li><a href='http://www.52nlp.com/moses-support-digest-moses-threads-compilation-problem-with-randlm/' rel='bookmark' title='Permanent Link: Moses Support Digest:moses threads compilation problem with RandLM'>Moses Support Digest:moses threads compilation problem with RandLM</a></li>
<li><a href='http://www.52nlp.com/moses-support-digest-srilm-installation-problem/' rel='bookmark' title='Permanent Link: Moses Support Digest:SRILM installation problem'>Moses Support Digest:SRILM installation problem</a></li>
<li><a href='http://www.52nlp.com/moses-support-digest/' rel='bookmark' title='Permanent Link: Moses Support Digest: moses install on 64-bit'>Moses Support Digest: moses install on 64-bit</a></li>
<li><a href='http://www.52nlp.com/moses-support-digest-moses-installation/' rel='bookmark' title='Permanent Link: Moses Support Digest: moses installation'>Moses Support Digest: moses installation</a></li>
<li><a href='http://www.52nlp.com/moses-support-digest-compiling-on-mac/' rel='bookmark' title='Permanent Link: Moses Support Digest: compiling on Mac'>Moses Support Digest: compiling on Mac</a></li>
<li><a href='http://www.52nlp.com/moses-support-digest-binarized-srilm/' rel='bookmark' title='Permanent Link: Moses Support Digest:Binarized SRILM'>Moses Support Digest:Binarized SRILM</a></li>
<li><a href='http://www.52nlp.com/moses-support-digest-pos-lm/' rel='bookmark' title='Permanent Link: Moses Support Digest:POS LM'>Moses Support Digest:POS LM</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.52nlp.com/moses-support-digest-moses-for-cygwin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Moses Support Digest:moses decoder results on cygwin and dos</title>
		<link>http://www.52nlp.com/moses-support-digest-moses-decoder-results-on-cygwin-and-dos/</link>
		<comments>http://www.52nlp.com/moses-support-digest-moses-decoder-results-on-cygwin-and-dos/#comments</comments>
		<pubDate>Fri, 27 Nov 2009 12:27:43 +0000</pubDate>
		<dc:creator>52nlp</dc:creator>
				<category><![CDATA[Moses]]></category>
		<category><![CDATA[SMT]]></category>
		<category><![CDATA[cygwin]]></category>
		<category><![CDATA[dos]]></category>
		<category><![CDATA[moses]]></category>
		<category><![CDATA[support]]></category>

		<guid isPermaLink="false">http://www.52nlp.com/?p=134</guid>
		<description><![CDATA[[Moses-support] moses decoder results on cygwin and dos Dear All Running the moses decoder on cygwin and dos gives slightly different results, even though I&#8217;m using the same executable and the same models. For example, translating from Welsh to English: &#8230; <a href="http://www.52nlp.com/moses-support-digest-moses-decoder-results-on-cygwin-and-dos/">Continue reading <span class="meta-nav">&#8594;</span></a>


Related posts:<ol><li><a href='http://www.52nlp.com/moses-support-digest-moses-for-cygwin/' rel='bookmark' title='Permanent Link: Moses Support Digest:moses for cygwin'>Moses Support Digest:moses for cygwin</a></li>
<li><a href='http://www.52nlp.com/moses-support-digest-moses-decoder-on-windows-freezes-after-5-sentences/' rel='bookmark' title='Permanent Link: Moses Support Digest: Moses decoder on windows freezes after 5 sentences'>Moses Support Digest: Moses decoder on windows freezes after 5 sentences</a></li>
<li><a href='http://www.52nlp.com/moses-support-digest-compiling-on-mac/' rel='bookmark' title='Permanent Link: Moses Support Digest: compiling on Mac'>Moses Support Digest: compiling on Mac</a></li>
<li><a href='http://www.52nlp.com/moses-support-digest-moses-error-in-training-phrase-model/' rel='bookmark' title='Permanent Link: Moses Support Digest:Moses Error in training phrase'>Moses Support Digest:Moses Error in training phrase</a></li>
<li><a href='http://www.52nlp.com/moses-support-digest-rdbms-for-the-decoder/' rel='bookmark' title='Permanent Link: Moses Support Digest:RDBMS for the decoder'>Moses Support Digest:RDBMS for the decoder</a></li>
<li><a href='http://www.52nlp.com/moses-support-digestnbest-list-option-in-decoder/' rel='bookmark' title='Permanent Link: Moses Support Digest:nbest list option in decoder'>Moses Support Digest:nbest list option in decoder</a></li>
<li><a href='http://www.52nlp.com/moses-support-digest-word-alignment-moses/' rel='bookmark' title='Permanent Link: Moses Support Digest: Word Alignment &#8211; Moses'>Moses Support Digest: Word Alignment &#8211; Moses</a></li>
<li><a href='http://www.52nlp.com/moses-support-digest-dictionary-problem-solved/' rel='bookmark' title='Permanent Link: Moses Support Digest:dictionary problem solved'>Moses Support Digest:dictionary problem solved</a></li>
<li><a href='http://www.52nlp.com/moses-support-digest-dictonary-use-during-training/' rel='bookmark' title='Permanent Link: Moses Support Digest:Dictonary use during training'>Moses Support Digest:Dictonary use during training</a></li>
<li><a href='http://www.52nlp.com/moses-support-digest-pulling-source-data/' rel='bookmark' title='Permanent Link: Moses Support Digest:Pulling source data'>Moses Support Digest:Pulling source data</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><strong>[Moses-support] moses decoder results on cygwin and dos</strong></p>
<p>Dear All</p>
<p>Running the moses decoder on cygwin and dos gives slightly different results, even though I&#8217;m using the same executable and the same models.</p>
<p>For example, translating from Welsh to English:</p>
<blockquote><p>
     Welsh:   bydd y bore &#8216;n oer .<br />
     English: the morning will be cold .</p>
<p>     moses at cygwin: morning will be cold .<br />
     moses at dos:    bydd the morning will be cold .</p></blockquote>
<p>The main problem is that on dos, moses is always returning the first word of the source language, prepended to the translation itself.  Easy to strip off but annoying.  The translation itself is often slightly better on dos than on cygwin, as above (which is if anything even stranger).</p>
<p>Can anyone account for this strange behaviour?  More important, how can I stop the first word of source language returning?</p>
<p>Thanks and best wishes</p>
<p>Ivan<br />
<span id="more-134"></span><br />
<!--adsense--></p>
<p><strong>Re:[Moses-support] moses decoder results on cygwin and dos</strong></p>
<p>hi ivan</p>
<p>i think this might be a problem with line ending again. The non-printing 0&#215;13 character is being appended to the 1st input word which causes it to be unrecognised so it is outputted ad-verbatim. Cygwin properly has internal code which strips out this character make sure you convert all text files to unix line endings using dos2unix.</p>
<p><strong>Re:[Moses-support] moses decoder results on cygwin and dos</strong></p>
<p>Hieu</p>
<p>Thanks for your comment.</p>
<p>How can this be a line-ending issue?  Where are line-endings involved?</p>
<p>What is appending an extra character to the first word and why?</p>
<p>The 1st input word *is* being recognised and translated (as I said, the translations under dos are correct) &#8212; &#8220;bydd&#8221; translates to &#8220;will be&#8221;.</p>
<p>I&#8217;m using identical material under cygwin and dos, the only difference<br />
is under cygwin I&#8217;m using a shell script and under dos I&#8217;m using a<br />
&#8220;.bat&#8221; file.  If it is a line-ending issue why is it affecting dos and<br />
not cygwin?</p>
<p><strong>Re:[Moses-support] moses decoder results on cygwin and dos</strong></p>
<p>Hi,</p>
<p>I have seen text files under windows that add a starting byte to indicate the encoding of the file. Sine the first word is a problem,<br />
this may be the cause.</p>
<p>-phi</p>
<p><strong>Re:[Moses-support] moses decoder results on cygwin and dos</strong></p>
<p>I am not sending text to moses from a text file, I am using the command-line:</p>
<p>m.bat contains:</p>
<p>echo %1  |  c:\cygwin\path\to\moses.exe  -f  c:\cygwin\path\to\moses.ini   2>  msc_tywyddTeletestun.err</p>
<p>usage</p>
<p>> m.bat &#8220;bydd y bore &#8216;n oer .&#8221;<br />
&#8220;bydd the morning will be cold .&#8221;</p>
<p><strong>Re:[Moses-support] moses decoder results on cygwin and dos</strong></p>
<p>the echo in dos &#038; unix works slightly differently.</p>
<p>dos: echo &#8220;c&#8221;<br />
&#8220;c&#8221;</p>
<p>unix:echo &#8220;c&#8221;<br />
c</p>
<p>the &#8221; char is being appended to the 1st word. oh the joys of command line&#8230;.</p>
<p><strong>Re:[Moses-support] moses decoder results on cygwin and dos</strong></p>
<p>Dear Hieu</p>
<p>This was the vital clue I needed. Thanks!  If I make sure I use the cygwin echo instead of the dos echo, I get the expected result without the repeated first word.</p>
<p>Why is the dos echo idiosyncratic and unreliable?  I think we all know the answer to that.</p>
<p>Thanks again for persevering with suggestions.</p>
<p>Best</p>
<p>Ivan</p>
<p><em>NOTICE:This is digested from the Moses-support mailing list, which supports for the moses SMT decoder.</em></p>


<p>Related posts:<ol><li><a href='http://www.52nlp.com/moses-support-digest-moses-for-cygwin/' rel='bookmark' title='Permanent Link: Moses Support Digest:moses for cygwin'>Moses Support Digest:moses for cygwin</a></li>
<li><a href='http://www.52nlp.com/moses-support-digest-moses-decoder-on-windows-freezes-after-5-sentences/' rel='bookmark' title='Permanent Link: Moses Support Digest: Moses decoder on windows freezes after 5 sentences'>Moses Support Digest: Moses decoder on windows freezes after 5 sentences</a></li>
<li><a href='http://www.52nlp.com/moses-support-digest-compiling-on-mac/' rel='bookmark' title='Permanent Link: Moses Support Digest: compiling on Mac'>Moses Support Digest: compiling on Mac</a></li>
<li><a href='http://www.52nlp.com/moses-support-digest-moses-error-in-training-phrase-model/' rel='bookmark' title='Permanent Link: Moses Support Digest:Moses Error in training phrase'>Moses Support Digest:Moses Error in training phrase</a></li>
<li><a href='http://www.52nlp.com/moses-support-digest-rdbms-for-the-decoder/' rel='bookmark' title='Permanent Link: Moses Support Digest:RDBMS for the decoder'>Moses Support Digest:RDBMS for the decoder</a></li>
<li><a href='http://www.52nlp.com/moses-support-digestnbest-list-option-in-decoder/' rel='bookmark' title='Permanent Link: Moses Support Digest:nbest list option in decoder'>Moses Support Digest:nbest list option in decoder</a></li>
<li><a href='http://www.52nlp.com/moses-support-digest-word-alignment-moses/' rel='bookmark' title='Permanent Link: Moses Support Digest: Word Alignment &#8211; Moses'>Moses Support Digest: Word Alignment &#8211; Moses</a></li>
<li><a href='http://www.52nlp.com/moses-support-digest-dictionary-problem-solved/' rel='bookmark' title='Permanent Link: Moses Support Digest:dictionary problem solved'>Moses Support Digest:dictionary problem solved</a></li>
<li><a href='http://www.52nlp.com/moses-support-digest-dictonary-use-during-training/' rel='bookmark' title='Permanent Link: Moses Support Digest:Dictonary use during training'>Moses Support Digest:Dictonary use during training</a></li>
<li><a href='http://www.52nlp.com/moses-support-digest-pulling-source-data/' rel='bookmark' title='Permanent Link: Moses Support Digest:Pulling source data'>Moses Support Digest:Pulling source data</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.52nlp.com/moses-support-digest-moses-decoder-results-on-cygwin-and-dos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

