<?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; SRILM</title>
	<atom:link href="http://www.52nlp.com/tag/srilm/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: cannot find -loolm</title>
		<link>http://www.52nlp.com/cannot-find-loolm/</link>
		<comments>http://www.52nlp.com/cannot-find-loolm/#comments</comments>
		<pubDate>Sat, 10 Apr 2010 15:47:50 +0000</pubDate>
		<dc:creator>52nlp</dc:creator>
				<category><![CDATA[Moses]]></category>
		<category><![CDATA[SMT]]></category>
		<category><![CDATA[loolm]]></category>
		<category><![CDATA[moses]]></category>
		<category><![CDATA[SRILM]]></category>
		<category><![CDATA[support]]></category>

		<guid isPermaLink="false">http://www.52nlp.com/?p=341</guid>
		<description><![CDATA[[Moses-support] cannot find -loolm libtool: link: g++ -g -O2 -o lmbrgrid LatticeMBRGrid.o LatticeMBR.o IOWrapper.o -L/home/sripirakas/SMT/tools/srilm/lib/i686 ../../moses/src/.libs/libmoses.a -L/home/sripirakas/SMT/tools/moses/OnDiskPt/src -lOnDiskPt -loolm -ldstruct -lmisc -lz /usr/bin/ld: cannot find -loolm collect2: ld returned 1 exit status make[2]: *** [moses] Error 1 make[2]: *** Waiting &#8230; <a href="http://www.52nlp.com/cannot-find-loolm/">Continue reading <span class="meta-nav">&#8594;</span></a>


Related posts:<ol><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/' 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-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-moses-chart-error-while-compiling-training-scripts/' rel='bookmark' title='Permanent Link: Moses Support Digest: moses-chart error while compiling training scripts'>Moses Support Digest: moses-chart error while compiling training scripts</a></li>
<li><a href='http://www.52nlp.com/moses-support-digest-problem-running-mosesserver/' rel='bookmark' title='Permanent Link: Moses Support Digest:problem running mosesserver'>Moses Support Digest:problem running mosesserver</a></li>
<li><a href='http://www.52nlp.com/moses-support-digest-createberkeleypt-and-on-disk-rule-table/' rel='bookmark' title='Permanent Link: Moses Support Digest:CreateBerkeleyPt and On-Disk Rule Table'>Moses Support Digest:CreateBerkeleyPt and On-Disk Rule Table</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-moses-compilation-problem-on-fedora-11/' rel='bookmark' title='Permanent Link: Moses Support Digest:Moses compilation problem on fedora 11'>Moses Support Digest:Moses compilation problem on fedora 11</a></li>
<li><a href='http://www.52nlp.com/moses-support-digest-translation-from-english-to-foreign-language/' rel='bookmark' title='Permanent Link: Moses Support Digest:Translation from English to Foreign Language'>Moses Support Digest:Translation from English to Foreign Language</a></li>
<li><a href='http://www.52nlp.com/moses-support-digest-tuning-failure-with-language-model-type-unknown/' rel='bookmark' title='Permanent Link: Moses Support Digest:Tuning failure with Language model type unknown'>Moses Support Digest:Tuning failure with Language model type unknown</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>[Moses-support] cannot find -loolm</p>
<p>libtool: link: g++ -g -O2 -o lmbrgrid LatticeMBRGrid.o LatticeMBR.o IOWrapper.o  -L/home/sripirakas/SMT/tools/srilm/lib/i686 ../../moses/src/.libs/libmoses.a -L/home/sripirakas/SMT/tools/moses/OnDiskPt/src -lOnDiskPt -loolm -ldstruct -lmisc -lz<br />
/usr/bin/ld: cannot find -loolm<br />
collect2: ld returned 1 exit status<br />
make[2]: *** [moses] Error 1<br />
make[2]: *** Waiting for unfinished jobs&#8230;.<br />
/usr/bin/ld: cannot find -loolm<br />
collect2: ld returned 1 exit status<br />
make[2]: *** [lmbrgrid] Error 1<br />
make[2]: Leaving directory `/home/sripirakas/SMT/tools/moses/moses-cmd/src&#8217;<br />
make[1]: *** [all-recursive] Error 1<br />
make[1]: Leaving directory `/home/sripirakas/SMT/tools/moses&#8217;<br />
make: *** [all] Error 2</p>
<p><strong>Re: [Moses-support] cannot find -loolm</strong></p>
<p>First check in /home/sripirakas/SMT/tools/srilm/lib/i686 to see if the<br />
library oolm is compiled successfully.</p>
<p>If your machine&#8217;s architecture is x86-64, SRILM actually compiles its<br />
library for x86 instead. You need to explicitly tell SRILM to target x86-64<br />
&#8211; I usually just edit the srilm/sbin/machine-type script and change</p>
<p>    else if (`uname -m` == x86_64) then<br />
        #set MACHINE_TYPE = i686-m64<br />
        set MACHINE_TYPE = i686</p>
<p>to</p>
<p>    else if (`uname -m` == x86_64) then<br />
        set MACHINE_TYPE = i686-m64<br />
        #set MACHINE_TYPE = i686</p>
<p>And then do a clean build.</p>
<p>Liu Chang<br />
National University of Singapore</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-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/' 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-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-moses-chart-error-while-compiling-training-scripts/' rel='bookmark' title='Permanent Link: Moses Support Digest: moses-chart error while compiling training scripts'>Moses Support Digest: moses-chart error while compiling training scripts</a></li>
<li><a href='http://www.52nlp.com/moses-support-digest-problem-running-mosesserver/' rel='bookmark' title='Permanent Link: Moses Support Digest:problem running mosesserver'>Moses Support Digest:problem running mosesserver</a></li>
<li><a href='http://www.52nlp.com/moses-support-digest-createberkeleypt-and-on-disk-rule-table/' rel='bookmark' title='Permanent Link: Moses Support Digest:CreateBerkeleyPt and On-Disk Rule Table'>Moses Support Digest:CreateBerkeleyPt and On-Disk Rule Table</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-moses-compilation-problem-on-fedora-11/' rel='bookmark' title='Permanent Link: Moses Support Digest:Moses compilation problem on fedora 11'>Moses Support Digest:Moses compilation problem on fedora 11</a></li>
<li><a href='http://www.52nlp.com/moses-support-digest-translation-from-english-to-foreign-language/' rel='bookmark' title='Permanent Link: Moses Support Digest:Translation from English to Foreign Language'>Moses Support Digest:Translation from English to Foreign Language</a></li>
<li><a href='http://www.52nlp.com/moses-support-digest-tuning-failure-with-language-model-type-unknown/' rel='bookmark' title='Permanent Link: Moses Support Digest:Tuning failure with Language model type unknown'>Moses Support Digest:Tuning failure with Language model type unknown</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.52nlp.com/cannot-find-loolm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Moses Support Digest:SRILM installation problem</title>
		<link>http://www.52nlp.com/moses-support-digest-srilm-installation-problem/</link>
		<comments>http://www.52nlp.com/moses-support-digest-srilm-installation-problem/#comments</comments>
		<pubDate>Mon, 01 Mar 2010 11:08:01 +0000</pubDate>
		<dc:creator>52nlp</dc:creator>
				<category><![CDATA[Moses]]></category>
		<category><![CDATA[SMT]]></category>
		<category><![CDATA[moses]]></category>
		<category><![CDATA[SRILM]]></category>
		<category><![CDATA[support]]></category>

		<guid isPermaLink="false">http://www.52nlp.com/?p=313</guid>
		<description><![CDATA[[Moses-support] SRILM installation problem Hi All, I had a problem to install Moses and posted it here but no response is coming out yet. Can any one help me where to post this. I appreciate you guys for any help. &#8230; <a href="http://www.52nlp.com/moses-support-digest-srilm-installation-problem/">Continue reading <span class="meta-nav">&#8594;</span></a>


Related posts:<ol><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/' 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-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-digest-building-pos-language-model-with-srilm/' rel='bookmark' title='Permanent Link: Moses Support Digest:Building POS language model with SRILM'>Moses Support Digest:Building POS language model with SRILM</a></li>
<li><a href='http://www.52nlp.com/moses-support-digest-moses-compilation-problem-on-fedora-11/' rel='bookmark' title='Permanent Link: Moses Support Digest:Moses compilation problem on fedora 11'>Moses Support Digest:Moses compilation problem on fedora 11</a></li>
<li><a href='http://www.52nlp.com/cannot-find-loolm/' rel='bookmark' title='Permanent Link: Moses Support Digest: cannot find -loolm'>Moses Support Digest: cannot find -loolm</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-moses-chart-error-while-compiling-training-scripts/' rel='bookmark' title='Permanent Link: Moses Support Digest: moses-chart error while compiling training scripts'>Moses Support Digest: moses-chart error while compiling training scripts</a></li>
<li><a href='http://www.52nlp.com/moses-support-digest-error-compiling-on-linux/' rel='bookmark' title='Permanent Link: Moses Support Digest:Error compiling on Linux'>Moses Support Digest:Error compiling on Linux</a></li>
<li><a href='http://www.52nlp.com/moses-support-digest-createberkeleypt-and-on-disk-rule-table/' rel='bookmark' title='Permanent Link: Moses Support Digest:CreateBerkeleyPt and On-Disk Rule Table'>Moses Support Digest:CreateBerkeleyPt and On-Disk Rule Table</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><strong>[Moses-support] SRILM installation problem</strong></p>
<p>Hi All,</p>
<p>I had a problem to install Moses and posted it here but no response is coming out yet.  Can any one help me where to post this.  I appreciate you guys for any help.</p>
<p>Mulu G.</p>
<p>Hi All,</p>
<p>I was trying to install srilm on Debian linux 5 lenny, MACHINE_TYPE= i686, with gcc version v 4.3.2. I have changed the Makefile according the manuals and without success.  So when I try to enter #make World, it produces the following message</p>
<p>/bin/sh: /root/srilm: is a directory<br />
mkdir include lib bin<br />
mkdir: cannot create directory `include&#8217;: File exists<br />
mkdir: cannot create directory `lib&#8217;: File exists<br />
mkdir: cannot create directory `bin&#8217;: File exists<br />
make: [dirs] Error 1 (ignored)<br />
make init<br />
/bin/sh: /root/srilm: is a directory<br />
make[1]: Entering directory `/root/srilm&#8217;<br />
for subdir in misc dstruct lm flm lattice utils; do<br />
            (cd $subdir/src; make SRILM=/root/srilm [SRILM] MACHINE_TYPE=<br />
OPTION= MAKE_PIC= init) || exit 1;<br />
      done<br />
make[2]: Entering directory `/root/srilm/misc/src&#8217;<br />
/root/srilm/common/Makefile.common.variables:96:<br />
/root/srilm/common/Makefile.machine.: No such file or directory<br />
make[2]: *** No rule to make target `/root/srilm/common/Makefile.machine.&#8217;.<br />
Stop.<br />
make[2]: Leaving directory `/root/srilm/misc/src&#8217;<br />
make[1]: *** [init] Error 1<br />
make[1]: Leaving directory `/root/srilm&#8217;<br />
make: *** [World] Error 2</p>
<p>Could you please help me in sorting out the problem and how to fix it.</p>
<p>Thank you all,</p>
<p>Mulu G.<br />
<span id="more-313"></span><br />
<strong>Re:[Moses-support] SRILM installation problem</strong></p>
<p>hi mulu</p>
<p>it seems you have an srilm compilation problem rather than a moses problem. from my experience, srilm is easy to compile but you have to read &#038; follow the instruction very carefully. If you dont succeed, I suggest you download SRILM and start again.</p>
<p>you will know when it succeeds when you have these files are created:<br />
    liboolm.a<br />
   libdstruct.a<br />
   libflm.a<br />
     liblattice.a<br />
     libmisc.a</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-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/' 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-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-digest-building-pos-language-model-with-srilm/' rel='bookmark' title='Permanent Link: Moses Support Digest:Building POS language model with SRILM'>Moses Support Digest:Building POS language model with SRILM</a></li>
<li><a href='http://www.52nlp.com/moses-support-digest-moses-compilation-problem-on-fedora-11/' rel='bookmark' title='Permanent Link: Moses Support Digest:Moses compilation problem on fedora 11'>Moses Support Digest:Moses compilation problem on fedora 11</a></li>
<li><a href='http://www.52nlp.com/cannot-find-loolm/' rel='bookmark' title='Permanent Link: Moses Support Digest: cannot find -loolm'>Moses Support Digest: cannot find -loolm</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-moses-chart-error-while-compiling-training-scripts/' rel='bookmark' title='Permanent Link: Moses Support Digest: moses-chart error while compiling training scripts'>Moses Support Digest: moses-chart error while compiling training scripts</a></li>
<li><a href='http://www.52nlp.com/moses-support-digest-error-compiling-on-linux/' rel='bookmark' title='Permanent Link: Moses Support Digest:Error compiling on Linux'>Moses Support Digest:Error compiling on Linux</a></li>
<li><a href='http://www.52nlp.com/moses-support-digest-createberkeleypt-and-on-disk-rule-table/' rel='bookmark' title='Permanent Link: Moses Support Digest:CreateBerkeleyPt and On-Disk Rule Table'>Moses Support Digest:CreateBerkeleyPt and On-Disk Rule Table</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.52nlp.com/moses-support-digest-srilm-installation-problem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Moses Support Digest:Binarized SRILM</title>
		<link>http://www.52nlp.com/moses-support-digest-binarized-srilm/</link>
		<comments>http://www.52nlp.com/moses-support-digest-binarized-srilm/#comments</comments>
		<pubDate>Thu, 03 Dec 2009 15:16:45 +0000</pubDate>
		<dc:creator>52nlp</dc:creator>
				<category><![CDATA[Moses]]></category>
		<category><![CDATA[SMT]]></category>
		<category><![CDATA[moses]]></category>
		<category><![CDATA[SRILM]]></category>
		<category><![CDATA[support]]></category>

		<guid isPermaLink="false">http://www.52nlp.com/?p=181</guid>
		<description><![CDATA[[Moses-support] Binarized SRILM Hi, just a quick question, can Moses use a binary version of the srilm lm? I have built it with the option -write-binary-lm Thanks Marco Re:[Moses-support] Binarized SRILM no-one&#8217;s asked this before but i&#8217;ll be interested to &#8230; <a href="http://www.52nlp.com/moses-support-digest-binarized-srilm/">Continue reading <span class="meta-nav">&#8594;</span></a>


Related posts:<ol><li><a href='http://www.52nlp.com/moses-digest-building-pos-language-model-with-srilm/' rel='bookmark' title='Permanent Link: Moses Support Digest:Building POS language model with SRILM'>Moses Support Digest:Building POS language model with SRILM</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-hierarchical-rule-extraction/' rel='bookmark' title='Permanent Link: Moses Support Digest:Hierarchical rule extraction'>Moses Support Digest:Hierarchical rule extraction</a></li>
<li><a href='http://www.52nlp.com/moses-support-digest-moses-irstlm-memory-racing-with-5-gram-lm/' rel='bookmark' title='Permanent Link: Moses Support Digest:  moses-irstlm memory racing with 5-gram lm'>Moses Support Digest:  moses-irstlm memory racing with 5-gram lm</a></li>
<li><a href='http://www.52nlp.com/moses-support-digest-problem-running-mosesserver/' rel='bookmark' title='Permanent Link: Moses Support Digest:problem running mosesserver'>Moses Support Digest:problem running mosesserver</a></li>
<li><a href='http://www.52nlp.com/moses-support-digest-note-that-regr-test-for-ptable-filtering-fails/' rel='bookmark' title='Permanent Link: Moses Support Digest: Note that regr. test for ptable-filtering fails'>Moses Support Digest: Note that regr. test for ptable-filtering fails</a></li>
<li><a href='http://www.52nlp.com/cannot-find-loolm/' rel='bookmark' title='Permanent Link: Moses Support Digest: cannot find -loolm'>Moses Support Digest: cannot find -loolm</a></li>
<li><a href='http://www.52nlp.com/moses-support-digest-createberkeleypt-and-on-disk-rule-table/' rel='bookmark' title='Permanent Link: Moses Support Digest:CreateBerkeleyPt and On-Disk Rule Table'>Moses Support Digest:CreateBerkeleyPt and On-Disk Rule Table</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-moses-seems-to-hang/' rel='bookmark' title='Permanent Link: Moses Support Digest: Moses seems to hang'>Moses Support Digest: Moses seems to hang</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><strong>[Moses-support] Binarized SRILM</strong></p>
<p>Hi,<br />
just a quick question, can Moses use a binary version of the srilm lm? I have built it with the option -write-binary-lm</p>
<p>Thanks<br />
Marco<br />
<span id="more-181"></span><br />
<!--adsense--><br />
<strong>Re:[Moses-support] Binarized SRILM</strong></p>
<p>no-one&#8217;s asked this before but i&#8217;ll be interested to find out. If you anything more, let me know</p>
<p><strong>Re:[Moses-support] Binarized SRILM</strong></p>
<p>Hi Hieu,<br />
I&#8217;ll check&#8230;  and I&#8217;ll let u know.</p>
<p>In case this the output of moses using a binarized srilm LM:<br />
[total=-40.478] <<-8.000, -74.000, 0.000, -11.209, -4.077, -2.675, -12.833, -0.519, -5.449, -312.951, -66.706, -138.406, -42.936, -83.404, 32.997>><br />
which is the LM value? Is it the 10th value?</p>
<p>Thanks<br />
Marco</p>
<p><strong>Re:[Moses-support] Binarized SRILM</strong></p>
<p>Hi,</p>
<p>if you generate an n-best list, the types of the different feature functions are more transparent, but it is a safe bet that your example &#8220;-312.951&#8243; is the unweighted language model weight.</p>
<p>-phi</p>
<p><strong>Re:[Moses-support] Binarized SRILM</strong></p>
<p>Hi Philipp and Hieu,</p>
<p>i run this test:<br />
I build a moses model using 62k training sentences, then I build 2 LMs using the same data (English side):<br />
1)the normal srilm<br />
2)the binarized srilm</p>
<p>then i translate.</p>
<p>I got the exactly the same target sentences (I used the &#8220;diff&#8221; command to compare them). and Blue score (I did not optimize to speed up the test)</p>
<p>Now I&#8217;m running a new test using 1.1 M sentences&#8230; I&#8217;ll let u know later.</p>
<p>the small LM value in the previous example I guess it is due to small amount of training data (as in that case I used only 62k).</p>
<p>if u have any comment, please let me know <img src='http://www.52nlp.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Thanks a lot<br />
Marco</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-digest-building-pos-language-model-with-srilm/' rel='bookmark' title='Permanent Link: Moses Support Digest:Building POS language model with SRILM'>Moses Support Digest:Building POS language model with SRILM</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-hierarchical-rule-extraction/' rel='bookmark' title='Permanent Link: Moses Support Digest:Hierarchical rule extraction'>Moses Support Digest:Hierarchical rule extraction</a></li>
<li><a href='http://www.52nlp.com/moses-support-digest-moses-irstlm-memory-racing-with-5-gram-lm/' rel='bookmark' title='Permanent Link: Moses Support Digest:  moses-irstlm memory racing with 5-gram lm'>Moses Support Digest:  moses-irstlm memory racing with 5-gram lm</a></li>
<li><a href='http://www.52nlp.com/moses-support-digest-problem-running-mosesserver/' rel='bookmark' title='Permanent Link: Moses Support Digest:problem running mosesserver'>Moses Support Digest:problem running mosesserver</a></li>
<li><a href='http://www.52nlp.com/moses-support-digest-note-that-regr-test-for-ptable-filtering-fails/' rel='bookmark' title='Permanent Link: Moses Support Digest: Note that regr. test for ptable-filtering fails'>Moses Support Digest: Note that regr. test for ptable-filtering fails</a></li>
<li><a href='http://www.52nlp.com/cannot-find-loolm/' rel='bookmark' title='Permanent Link: Moses Support Digest: cannot find -loolm'>Moses Support Digest: cannot find -loolm</a></li>
<li><a href='http://www.52nlp.com/moses-support-digest-createberkeleypt-and-on-disk-rule-table/' rel='bookmark' title='Permanent Link: Moses Support Digest:CreateBerkeleyPt and On-Disk Rule Table'>Moses Support Digest:CreateBerkeleyPt and On-Disk Rule Table</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-moses-seems-to-hang/' rel='bookmark' title='Permanent Link: Moses Support Digest: Moses seems to hang'>Moses Support Digest: Moses seems to hang</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.52nlp.com/moses-support-digest-binarized-srilm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Moses Support Digest:Building POS language model with SRILM</title>
		<link>http://www.52nlp.com/moses-digest-building-pos-language-model-with-srilm/</link>
		<comments>http://www.52nlp.com/moses-digest-building-pos-language-model-with-srilm/#comments</comments>
		<pubDate>Wed, 25 Nov 2009 12:52:10 +0000</pubDate>
		<dc:creator>52nlp</dc:creator>
				<category><![CDATA[Moses]]></category>
		<category><![CDATA[SMT]]></category>
		<category><![CDATA[language model]]></category>
		<category><![CDATA[moses]]></category>
		<category><![CDATA[POS]]></category>
		<category><![CDATA[SRILM]]></category>
		<category><![CDATA[support]]></category>

		<guid isPermaLink="false">http://www.52nlp.com/?p=83</guid>
		<description><![CDATA[[Moses-support] Building POS language model with SRILM Hi, The Moses manual recommends using the following switches when building a language model with SRILM: 　　-interpolate -kndiscount I assume this recommendation applies specifically to surface-string language models. For a part-of-speech language model, &#8230; <a href="http://www.52nlp.com/moses-digest-building-pos-language-model-with-srilm/">Continue reading <span class="meta-nav">&#8594;</span></a>


Related posts:<ol><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>
<li><a href='http://www.52nlp.com/moses-support-digest-tuning-failure-with-language-model-type-unknown/' rel='bookmark' title='Permanent Link: Moses Support Digest:Tuning failure with Language model type unknown'>Moses Support Digest:Tuning failure with Language model type unknown</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-about-the-hierarchical-model-of-moses/' rel='bookmark' title='Permanent Link: Moses Support Digest:About the hierarchical model of Moses'>Moses Support Digest:About the hierarchical model of Moses</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-aligned-phrase-counts/' rel='bookmark' title='Permanent Link: Moses Support Digest:Aligned phrase counts'>Moses Support Digest:Aligned phrase counts</a></li>
<li><a href='http://www.52nlp.com/moses-support-digest-different-bleu-scores-from-nist-and-moses-scripts/' rel='bookmark' title='Permanent Link: Moses Support Digest: different bleu scores from nist and moses scripts'>Moses Support Digest: different bleu scores from nist and moses scripts</a></li>
<li><a href='http://www.52nlp.com/moses-support-digest-translation-from-english-to-foreign-language/' rel='bookmark' title='Permanent Link: Moses Support Digest:Translation from English to Foreign Language'>Moses Support Digest:Translation from English to Foreign Language</a></li>
<li><a href='http://www.52nlp.com/moses-support-digest-is-reordering-model-a-must-be-used-component-to-use/' rel='bookmark' title='Permanent Link: Moses Support Digest:Is reordering model a must-be-used component to use?'>Moses Support Digest:Is reordering model a must-be-used component to use?</a></li>
<li><a href='http://www.52nlp.com/moses-support-digest-moses-seems-to-hang/' rel='bookmark' title='Permanent Link: Moses Support Digest: Moses seems to hang'>Moses Support Digest: Moses seems to hang</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><strong>[Moses-support] Building POS language model with SRILM </strong><br />
Hi,<br />
The Moses manual recommends using the following switches when building a language model with SRILM:<br />
  　　-interpolate -kndiscount<br />
I assume this recommendation applies specifically to surface-string language models.  For a part-of-speech language model, KN-discounting is inappropriate because it is based on counts-of-counts, and the counts-of-counts for POSes are odd in that there are very few POSes that occur only once or twice in a given corpus.<br />
Are there particular switches that are recommended for building a POS<br />
language model with SRILM?<br />
Regards,<br />
Ben Gottesman<br />
<span id="more-83"></span><br />
<!--adsense--><br />
<strong>Re: [Moses-support] Building POS language model with SRILM </strong></p>
<p>Hi,<br />
you are correct that for POS LMs the lower order n-gram counts are very different and smoothing is less relevant.<br />
You could train a 7-gram LM with Good Turing smoothing for the lower order n-grams and Kneser-Ney for the higher order n-grams.<br />
I have done this occasionally.</p>
<p>-phi</p>
<p>NOTICE:This is digested from the Moses-support mailing list, which supports for the moses SMT decoder.</p>


<p>Related posts:<ol><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>
<li><a href='http://www.52nlp.com/moses-support-digest-tuning-failure-with-language-model-type-unknown/' rel='bookmark' title='Permanent Link: Moses Support Digest:Tuning failure with Language model type unknown'>Moses Support Digest:Tuning failure with Language model type unknown</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-about-the-hierarchical-model-of-moses/' rel='bookmark' title='Permanent Link: Moses Support Digest:About the hierarchical model of Moses'>Moses Support Digest:About the hierarchical model of Moses</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-aligned-phrase-counts/' rel='bookmark' title='Permanent Link: Moses Support Digest:Aligned phrase counts'>Moses Support Digest:Aligned phrase counts</a></li>
<li><a href='http://www.52nlp.com/moses-support-digest-different-bleu-scores-from-nist-and-moses-scripts/' rel='bookmark' title='Permanent Link: Moses Support Digest: different bleu scores from nist and moses scripts'>Moses Support Digest: different bleu scores from nist and moses scripts</a></li>
<li><a href='http://www.52nlp.com/moses-support-digest-translation-from-english-to-foreign-language/' rel='bookmark' title='Permanent Link: Moses Support Digest:Translation from English to Foreign Language'>Moses Support Digest:Translation from English to Foreign Language</a></li>
<li><a href='http://www.52nlp.com/moses-support-digest-is-reordering-model-a-must-be-used-component-to-use/' rel='bookmark' title='Permanent Link: Moses Support Digest:Is reordering model a must-be-used component to use?'>Moses Support Digest:Is reordering model a must-be-used component to use?</a></li>
<li><a href='http://www.52nlp.com/moses-support-digest-moses-seems-to-hang/' rel='bookmark' title='Permanent Link: Moses Support Digest: Moses seems to hang'>Moses Support Digest: Moses seems to hang</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.52nlp.com/moses-digest-building-pos-language-model-with-srilm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

