<?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; Hierarchical rule</title>
	<atom:link href="http://www.52nlp.com/tag/hierarchical-rule/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:Hierarchical rule extraction</title>
		<link>http://www.52nlp.com/moses-support-hierarchical-rule-extraction/</link>
		<comments>http://www.52nlp.com/moses-support-hierarchical-rule-extraction/#comments</comments>
		<pubDate>Wed, 25 Nov 2009 13:15:06 +0000</pubDate>
		<dc:creator>52nlp</dc:creator>
				<category><![CDATA[Moses]]></category>
		<category><![CDATA[SMT]]></category>
		<category><![CDATA[Hierarchical rule]]></category>
		<category><![CDATA[moses]]></category>
		<category><![CDATA[support]]></category>

		<guid isPermaLink="false">http://www.52nlp.com/?p=95</guid>
		<description><![CDATA[[Moses-support] Hierarchical rule extraction Hieu / Philipp, I&#8217;d like to extract a hierarchical grammar using the Moses tools (which Philipp helpfully pointed out have some documentation at http://www.statmt.org/moses/?n=Moses.ChartDecoding) Here&#8217;s the catch: I already have run train-factored-phrase-model.perl to extract a regular &#8230; <a href="http://www.52nlp.com/moses-support-hierarchical-rule-extraction/">Continue reading <span class="meta-nav">&#8594;</span></a>


Related posts:<ol><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-hierarchical-and-syntax-based-decoding-in-moses/' rel='bookmark' title='Permanent Link: Moses Support Digest: Hierarchical and syntax-based decoding in Moses'>Moses Support Digest: Hierarchical and syntax-based decoding in Moses</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-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-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-about-mert-moses-in-mose-chart/' rel='bookmark' title='Permanent Link: Moses Support Digest: About mert-moses in mose-chart'>Moses Support Digest: About mert-moses in mose-chart</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-about-giza-options-when-running-moses/' rel='bookmark' title='Permanent Link: Moses Support Digest:About giza++ options when running moses'>Moses Support Digest:About giza++ options when running moses</a></li>
<li><a href='http://www.52nlp.com/moses-support-digest-compiling-moses-3-chart/' rel='bookmark' title='Permanent Link: Moses Support Digest:compiling moses 3 chart'>Moses Support Digest:compiling moses 3 chart</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>
</ol>]]></description>
			<content:encoded><![CDATA[<p><strong>[Moses-support] Hierarchical rule extraction</strong></p>
<p>Hieu / Philipp,<br />
I&#8217;d like to extract a hierarchical grammar using the Moses tools  (which Philipp helpfully pointed out have some documentation at http://www.statmt.org/moses/?n=Moses.ChartDecoding)<br />
Here&#8217;s the catch: I already have run train-factored-phrase-model.perl  to extract a regular Moses phrase table using trunk. That process already ran GIZA++, and I&#8217;d really rather not have to re-run alignment over the exact same data set just to get the branched version of train-factored-phrase-model.perl to let me pass the additional -hierarchical-glue-grammar flags.<br />
Is there a way to run the branch version of train-factored-phrase-model.perl with  -hierarchical -glue-grammar, and have it re-use the existing alignments that were created by my previous run of (trunk) train-factored-phrase-model.perl?<br />
Cheers,<br />
Lane<br />
<span id="more-95"></span><br />
<!--adsense--><br />
<strong>Re:[Moses-support] Hierarchical rule extraction</strong><br />
Hi Lane</p>
<p>this might be what you&#8217;re after</p>
<p>1. extract:</p>
<p>/exports/home/s0565741/inf_iccs_smt/hieu/bin/scripts-20091006-1453/training/train-factored-phrase-model.perl<br />
-dont-zip -first-step 5 -last-step 5 -scripts-root-dir<br />
/exports/home/s0565741/inf_iccs_smt/hieu/bin/scripts-20091006-1453 -f de<br />
-e en -alignment grow-diag-final-and -max-phrase-length 5 -hierarchical<br />
-glue-grammar -alignment-file<br />
/exports/home/s0565741/inf_iccs_smt/hieu/exp/de-en/nc/working-dir/model/aligned.1<br />
-alignment-stem<br />
/exports/home/s0565741/inf_iccs_smt/hieu/exp/de-en/nc/working-dir/model/aligned.1<br />
-extract-file<br />
/exports/home/s0565741/inf_iccs_smt/hieu/exp/de-en/nc/working-dir/model/extract.1<br />
-corpus<br />
/exports/home/s0565741/inf_iccs_smt/hieu/exp/de-en/nc/working-dir/training/corpus.1<br />
-glue-grammar-file<br />
/exports/home/s0565741/inf_iccs_smt/hieu/exp/de-en/nc/working-dir/model/glue-grammar.1 </p>
<p>2. build table</p>
<p>/exports/home/s0565741/inf_iccs_smt/hieu/bin/scripts-20091006-1453/training/train-factored-phrase-model.perl<br />
-dont-zip -first-step 6 -last-step 6 -scripts-root-dir<br />
/exports/home/s0565741/inf_iccs_smt/hieu/bin/scripts-20091006-1453 -f de<br />
-e en -alignment grow-diag-final-and -max-phrase-length 5 -hierarchical<br />
-glue-grammar -extract-file<br />
/exports/home/s0565741/inf_iccs_smt/hieu/exp/de-en/nc/working-dir/model/extract.1<br />
-lexical-file<br />
/exports/home/s0565741/inf_iccs_smt/hieu/exp/de-en/nc/working-dir/model/lex.1<br />
-phrase-translation-table<br />
/exports/home/s0565741/inf_iccs_smt/hieu/exp/de-en/nc/working-dir/model/phrase-table.1 </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-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-hierarchical-and-syntax-based-decoding-in-moses/' rel='bookmark' title='Permanent Link: Moses Support Digest: Hierarchical and syntax-based decoding in Moses'>Moses Support Digest: Hierarchical and syntax-based decoding in Moses</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-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-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-about-mert-moses-in-mose-chart/' rel='bookmark' title='Permanent Link: Moses Support Digest: About mert-moses in mose-chart'>Moses Support Digest: About mert-moses in mose-chart</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-about-giza-options-when-running-moses/' rel='bookmark' title='Permanent Link: Moses Support Digest:About giza++ options when running moses'>Moses Support Digest:About giza++ options when running moses</a></li>
<li><a href='http://www.52nlp.com/moses-support-digest-compiling-moses-3-chart/' rel='bookmark' title='Permanent Link: Moses Support Digest:compiling moses 3 chart'>Moses Support Digest:compiling moses 3 chart</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>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.52nlp.com/moses-support-hierarchical-rule-extraction/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

