<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>Natural Language Processing Laboratory at Northeastern University</title>
<link href="style.css" type="text/css" rel="stylesheet"  />
<link href="func.js" type="text/javascript"  />
<link href="images/n.gif" type="images/x-iconf" rel="shortcut icon"  />
</head>

<body onload="MM_preloadImages('../NLP-WEB/home+.gif','../NLP-WEB/news+.gif','../NLP-WEB/people+.gif','../NLP-WEB/pub+.gif','../NLP-WEB/pro+.gif','../NLP-WEB/re+.gif','../NLP-WEB/images/home+.gif','../NLP-WEB/images/news+.gif','../NLP-WEB/images/people+.gif','../NLP-WEB/images/pub+.gif','../NLP-WEB/images/pro+.gif','../NLP-WEB/images/re+.gif')">

<table id="mainbody" align="center" border="0" cellpadding="0" cellspacing="0">
<tr>
  <td id="sidebar" valign="top">
  <div id="fixed_pos">
    <div id="logo"><img src="images/logo.png" class="logo_img"/></div>
    <!--div id="logo"><img src="images/niu.gif" class="logo_img"/></div-->
    <div id="navi">
      <h1>NiuTrans</h1>
        <div class="item"><a href="NiuTrans.Syntax.ch.html">ÖÐÎÄ°æ<img src="images/chinese.png" width="15" height="15" /></a></div>
        <div class="item"><a href="NiuTrans.html#introduction" target="_self">Introduction</a></div>
        <div class="item"><a href="NiuTrans.html#features" target="_self">Features</a></div>
        <div class="item"><a href="NiuTrans.html#download" target="_self">Download</a></div>
        <div class="item"><a href="NiuTrans.html#requirements" target="_self">Requirements</a></div>
        <div class="item"><a href="NiuTrans.html#installation" target="_self">Installation</a></div>
        <div class="item"><a href="NiuTrans.html#manual" target="_self">Manual&nbsp;<img src="images/pdf.gif" /></a></div>
        <div class="item"><a href="NiuTrans.html#team-member" target="_self">NiuTrans Team</a><img src="images/new_icon.gif" width="31" height="12" /></div>
        <div class="item"><a href="NiuTrans.html#cite-us" target="_self">Cite Us</a></div>
        <div class="item"><a href="NiuTrans.html#get-support" target="_self">Get Support</a></div>
        <div class="item"><a href="NiuTrans.html#history" target="_self">History</a></div>
        <div class="item"><a href="NiuTrans.html#acknowledgements" target="_self">Acknowledgements</a></div>
        
      <h1>Step by Step Usage</h1>
        <div class="item"><a href="NiuTrans.YourData.html" target="_self">Use Your Own Data</a><img src="images/new_icon.gif" width="31" height="12" /></div>
        <div class="item"><a href="NiuTrans.Phrase.html" target="_self">NiuTrans.Phrase</a></div>
        <div class="item"><a href="NiuTrans.Hierarchy.html" target="_self">NiuTrans.Hierarchy</a></div>
        <div class="item"><a href="NiuTrans.Syntax.html" target="_self">NiuTrans.Syntax</a></div>
      
      <h1>Advanced Usage</h1>
        <div class="item"><a href="NiuTransAdvancedUsage.html" target="_self">Advanced Usage</a></div>
        
      <h1>FAQ</h1>
        <div class="item"><a href="NiuTrans.FAQ.ch.html" target="_self">FAQ</a></div>

      <h1>Applications</h1>
        <div class="item"><a href="http://www.zjyatuo.com/" target="_self">1. NiuTrans Server<img src="images/new_icon.gif" width="31" height="12" /></a></div>
        <div class="item"><a href="http://218.75.34.138/fanyi/" target="_self">2. Web-based MT</a></div>
        <div class="item"><a href="http://www.zjyatuo.com/NiuTrans_Mobile.html">3. Speech-to-Speech MT (Android)</a></div>

      <h1>Weibo</h1>
       <div class="item"><a href="http://weibo.com/niutrans" target="_blank">weibo.com/niutrans</a></div>

      <h1>BBS</h1>
       <div class="item"><a href="http://183.129.153.66:81" target="_blank">183.129.153.66:81</a></div>
    </div>
  </div>
  </td>
  <td id="corepart" valign="top">
    <div id="mini_navi">
      <span><a href="http://www.nlplab.com">NEUNLPLab</a></span><span class="gt">&gt;&gt;</span><span><a href="NiuTrans.html">NiuTrans Home</a></span><span class="gt">&gt;&gt;</span><span class="last_item">NiuTrans.Syntax</span>
    </div>
     <p align="right"><br />
        </p>
          <hr />
          <p><span class="STYLE7">A Step-by-step manual of NiuTrans.Syntax - Version 1.3.1 Beta</span>
<!--
<p class="STYLE13"><font color="red">Note</font><br />
<span class="STYLE12">
<span class="STYLE17">
<font color="red">
As the LM library is updated in NiuTrans Version 1.1.0 beta, please check the following items to make sure that the new-version system can be correctly set up on your system.
</font>
</span>
</br>
<span class="STYLE17">
<font color="red">
If you have installed NiuTrans Version 1.0.0 Beta or earlier versions, please remove the files under ¡°/NiuTrans/lib¡± of existing NiuTrans systems. For linux users, please modify the ¡°~/.bashrc¡± file and remove the ¡°LD_LIBRARY_PATH¡± setting that was added previously. Then re-install NiuTrans Version 1.1.0 and make sure that ¡°LD_LIBRARY_PATH¡± directs to the newly-installed system.
</font>
</span>
</span>
</p>
-->
<!-- Step 1 -->
</p>
          <p class="STYLE12"><strong>1. Data Preparation</strong><br />
<UL>
<li>
<p class="STYLE12">The NiuTrans system  is a &quot;data-driven&quot; MT system which requires &quot;data&quot; for training and/or tuning the system. It requires users to prepare the following data files before running the system.<br />
  <span class="STYLE22">a). <strong>Training data</strong>: bilingual sentence-pairs and word alignments. <br/>
  </span>
  <span class="STYLE22">b). <strong>Tuning data</strong>: source sentences with one or more reference translations. <br/></span>
  <span class="STYLE22">c). <strong>Test data</strong>: some new sentences.<br/></span>
  <span class="STYLE22">d). <strong>Evaluation data</strong>: reference translations of test sentences.<br/>
  </span>
  In the NiuTrans package, some sample files are offered for experimenting with the system and studying the format requirement. They are located in "NiuTrans/sample-data/sample-submission-version".</p>

<PRE>sample-submission-version/
  -- TM-training-set/                   # word-aligned bilingual corpus (100,000 sentence-pairs)
       -- chinese.txt                   # source sentences
       -- english.txt                   # target sentences (case-removed)
       -- Alignment.txt                 # word alignments of the sentence-pairs
       -- chinese.tree.txt              # parse trees of source sentences
       -- english.tree.txt              # parse trees of target sentences
  -- LM-training-set/
       -- e.lm.txt                      # monolingual corpus for training language model (100K target sentences)
  -- Dev-set/
       -- Niu.dev.txt                   # development dataset for weight tuning (400 sentences)
       -- Niu.dev.tree.txt              # development dataset with tree annotation (on source sentences)
  -- Test-set/
       -- Niu.test.txt                  # test dataset (1K sentences)
       -- Niu.test.tree.txt             # test dataset with tree annotation
  -- Reference-for-evaluation/
       -- Niu.test.reference            # references of the test sentences (1K sentences)
  -- description-of-the-sample-data     # a description of the sample data</PRE>
</li>
<li>
  <p class="STYLE12">Format: please unpack &quot;NiuTrans/sample-data/sample.tar.gz&quot;, and refer to  "description-of-the-sample-data" to find more information about data format.
</p>
</li>
<li>
  <p class="STYLE12">In the following, the above data files are used to illustrate how to run the NiuTrans system (e.g. how to train MT models, tune feature weights, and decode test sentences).</br>
</p>
</li>
</UL>
   
<!-- Step 2 -->
<p class="STYLE12"><strong>2. Obtaining Syntactic Transfer Rules</strong><br />
<UL>
<li>
<p class="STYLE12">Instructions (perl is required. Also,  Cygwin is required for Windows users).</p>
<p><strong>string-to-tree</strong></p>
<PRE>
$> cd NiuTrans/sample-data/
$> tar xzf sample.tar.gz
$> cd ../
$> mkdir work/model.syntax.s2t/ -p
$> cd scripts/
$> perl NiuTrans-syntax-train-model.pl \
        -model s2t \
        -src   ../sample-data/sample-submission-version/TM-training-set/chinese.txt \
        -tgt   ../sample-data/sample-submission-version/TM-training-set/english.txt \
        -aln   ../sample-data/sample-submission-version/TM-training-set/Alignment.txt \
        -ttree ../sample-data/sample-submission-version/TM-training-set/english.tree.txt \
        -out   ../work/model.syntax.s2t/syntax.string2tree.rule
</PRE>
<p><strong>tree-to-string</strong></p>
<PRE>
$> cd NiuTrans/sample-data/
$> tar xzf sample.tar.gz
$> cd ../
$> mkdir work/model.syntax.t2s/ -p
$> cd scripts/
$> perl NiuTrans-syntax-train-model.pl \
        -model t2s \
        -src   ../sample-data/sample-submission-version/TM-training-set/chinese.txt \
        -stree ../sample-data/sample-submission-version/TM-training-set/chinese.tree.txt \
        -tgt   ../sample-data/sample-submission-version/TM-training-set/english.txt \
        -aln   ../sample-data/sample-submission-version/TM-training-set/Alignment.txt \
        -out   ../work/model.syntax.t2s/syntax.tree2string.rule
</PRE>
<p><strong>tree-to-tree</strong></p>
<PRE>
$> cd NiuTrans/sample-data/
$> tar xzf sample.tar.gz
$> cd ../
$> mkdir work/model.syntax.t2t/ -p
$> cd scripts/
$> perl NiuTrans-syntax-train-model.pl \
        -model t2t \
        -src   ../sample-data/sample-submission-version/TM-training-set/chinese.txt \
        -stree ../sample-data/sample-submission-version/TM-training-set/chinese.tree.txt \
        -tgt   ../sample-data/sample-submission-version/TM-training-set/english.txt \
        -ttree ../sample-data/sample-submission-version/TM-training-set/english.tree.txt \
        -aln   ../sample-data/sample-submission-version/TM-training-set/Alignment.txt \
        -out   ../work/model.syntax.t2t/syntax.tree2tree.rule
</PRE>
<span class="STYLE20">
"-model" specifies SMT translation model, the model decides what type of rules can be generated, its value can be "s2t", "t2s" or "t2t".<br/>
"-src", "-tgt" and "-aln" specify the source sentences, the target sentences and the alignments between them (one sentence per line). <br/>
"-stree" specifies the parse trees of source sentences. <br/>
"-ttree" specifies the parse trees of target sentences.</span><br/>
</li>

<li><p class="STYLE12">Output</p>
<p><strong>string-to-tree</strong></p>
  <p class="STYLE12">Output: three files are generated and placed in <span class="STYLE20">&quot;NiuTrans/work/model.syntax.s2t/&quot;</span>:<br />
<PRE>
- syntax.string2tree.rule                    # syntax rule table
- syntax.string2tree.rule.bina               # binarization rule table for decoder
- syntax.string2tree.rule.unbina             # unbinarization rule table for decoder
</PRE>
</p>
<p><strong>tree-to-string</strong></p>
  <p class="STYLE12">Output: three files are generated and placed in <span class="STYLE20">&quot;NiuTrans/work/model.syntax.t2s/&quot;</span>:<br />
<PRE>
- syntax.tree2string.rule                    # syntax rule table
- syntax.tree2string.rule.bina               # binarization rule table for decoder
- syntax.tree2string.rule.unbina             # unbinarization rule table for decoder
</PRE>
</p>
<p><strong>tree-to-tree</strong></p>
  <p class="STYLE12">Output: three files are generated and placed in <span class="STYLE20">&quot;NiuTrans/work/model.syntax.t2t/&quot;</span>:<br />
<PRE>
- syntax.tree2tree.rule                      # syntax rule table
- syntax.tree2tree.rule.bina                 # binarization rule table for decoder
- syntax.tree2tree.rule.unbina               # unbinarization rule table for decoder
</PRE>
</p>
</li>
<li>
  <p class="STYLE12">Note: Please enter the "NiuTrans/scripts/" directory before running the script "NiuTrans-syntax-train-model.pl". <br/>
</p>
</li>
</UL>

<!-- Step 3 -->
<p class="STYLE12"><strong>3. Training n-gram language model</strong><br />
<UL>
<li>
<p class="STYLE12">Instructions</p>
<PRE>
$> cd ../
$> mkdir work/lm/
$> cd scripts/
$> perl NiuTrans-training-ngram-LM.pl \
        -corpus ../sample-data/sample-submission-version/LM-training-set/e.lm.txt \
        -ngram  3 \
        -vocab  ../work/lm/lm.vocab \
        -lmbin  ../work/lm/lm.trie.data
</PRE>
<span class="STYLE20">
"-ngram" specifies the order of n-gram LM. E.g. &quot;-ngram 3&quot; indicates a 3-gram language model. <br/>
"-vocab" specifies where the target-side vocabulary is generated. <br/>
"-lmbin" specifies where the language model file is generated.
</span><br/>
</li>
<li>
  <p class="STYLE12">Output: two files are generated and placed in <span class="STYLE20">&quot;NiuTrans/work/lm/&quot;</span>:<br />
<PRE>
- lm.vocab                            # target-side vocabulary
- lm.trie.data                        # binary-encoded language model
</PRE>
</p>
</li>
</UL>

<!-- Step 4 -->
<p class="STYLE12"><strong>4. Generating Configuration File</strong><br />
<UL>
<li>
<p class="STYLE12">Instructions</p>
<p><strong>string-to-tree</strong></p>
<PRE>
$> cd NiuTrans/scripts/
$> mkdir ../work/config/ -p
$> perl NiuTrans-syntax-generate-mert-config.pl \
        -model      s2t \
        -syntaxrule ../work/model.syntax.s2t/syntax.string2tree.rule.bina \
        -lmdir      ../work/lm/ \
        -nref       1 \
        -ngram      3 \
        -out        ../work/config/NiuTrans.syntax.s2t.user.config
</PRE>
<p><strong>tree-to-string</strong></p>
<PRE>
$> cd NiuTrans/scripts/
$> mkdir ../work/config/ -p
$> perl NiuTrans-syntax-generate-mert-config.pl \
        -model      t2s \
        -syntaxrule ../work/model.syntax.t2s/syntax.tree2string.rule.bina \
        -lmdir      ../work/lm/ \
        -nref       1 \
        -ngram      3 \
        -out        ../work/config/NiuTrans.syntax.t2s.user.config
</PRE>
<p><strong>tree-to-tree</strong></p>
<PRE>
$> cd NiuTrans/scripts/
$> mkdir ../work/config/ -p
$> perl NiuTrans-syntax-generate-mert-config.pl \
        -model      t2t \
        -syntaxrule ../work/model.syntax.t2t/syntax.tree2tree.rule.bina \
        -lmdir      ../work/lm/ \
        -nref       1 \
        -ngram      3 \
        -out ../work/config/NiuTrans.syntax.t2t.user.config
</PRE>
<span class="STYLE20">
"-model" specifies what type of rules can be used to mert, its value can be "s2t", "t2s" or "t2t". <br/>
"-syntaxrule" specifies the path to the syntactic rule table. <br/>
"-lmdir" specifies the directory that holds the n-gram language model and the target-side vocabulary.</span><span class="STYLE20"><br />
"-nref" specifies how many reference translations per source-sentence are provided. <br/>
  &quot;-ngram&quot; specifies the order of n-gram language model.<br/>
  "-out" specifies the output (i.e. a config file).
  </span><br/>
</li>
<li><p class="STYLE12">Output</p>
<p><strong>string-to-tree</strong></p>
  <p class="STYLE12">Output: a configuration file is generated and placed in <span class="STYLE20">&quot;NiuTrans/work/config&quot;</span>. Users can modify this generated config file as needed.<br />
  <PRE>
- NiuTrans.syntax.s2t.user.config           # configuration file for MERT and decoding
</PRE>
  </p>
<p><strong>tree-to-string</strong></p>
  <p class="STYLE12">Output: a configuration file is generated and placed in <span class="STYLE20">&quot;NiuTrans/work/config&quot;</span>.<br />
  <PRE>
- NiuTrans.syntax.t2s.user.config           # configuration file for MERT and decoding
</PRE>
  </p>
<p><strong>tree-to-tree</strong></p>
  <p class="STYLE12">Output: a configuration file is generated and placed in <span class="STYLE20">&quot;NiuTrans/work/config&quot;</span>.<br />
  <PRE>
- NiuTrans.syntax.t2t.user.config           # configuration file for MERT and decoding
</PRE>
  </p>
</li>
</UL>

<!-- Step 5 -->
<p class="STYLE12"><strong>5. Weight Tuning</strong><br />
<UL>
<li>
<p class="STYLE12">Instructions (perl is required). </p>
<p><strong>string-to-tree</strong></p>
<PRE>
$> cd NiuTrans/scripts/
$> perl NiuTrans-syntax-mert-model.pl \
        -model  s2t \
        -config ../work/config/NiuTrans.syntax.s2t.user.config \
        -dev    ../sample-data/sample-submission-version/Dev-set/Niu.dev.tree.txt \
        -nref   1 \
        -round  2 \
        -log    ../work/syntax-s2t-mert-model.log
</PRE>
<p><strong>tree-to-string</strong></p>
<PRE>
$> cd NiuTrans/scripts/
$> perl NiuTrans-syntax-mert-model.pl \
        -model  t2s
        -config ../work/config/NiuTrans.syntax.t2s.user.config \
        -dev    ../sample-data/sample-submission-version/Dev-set/Niu.dev.tree.txt \
        -nref   1 \
        -round  2 \
        -log    ../work/syntax-t2s-mert-model.log
</PRE>
<p><strong>tree-to-tree</strong></p>
<PRE>
$> perl NiuTrans-syntax-mert-model.pl \
        -model  t2t \
        -config ../work/config/NiuTrans.syntax.t2t.user.config \
        -dev    ../sample-data/sample-submission-version/Dev-set/Niu.dev.tree.txt \
        -nref   1 \
        -round  2 \
        -log    ../work/syntax-t2t-mert-model.log
</PRE>
<span class="STYLE20">
&quot;-model&quot; specifies what type of rules can be used to mert, its value can be &quot;s2t&quot;, &quot;t2s&quot; or &quot;t2t&quot;. <br />
"-config" specifies the configuration file generated in the previous steps. <br/>
"-dev" specifies the development dataset (or tuning set) for weight tuning. <br/>
&quot;-nref&quot; specifies how many reference translations per source-sentence are provided.<br/>
  &quot;-round&quot; specifies how many rounds the MERT performs (by default, 1 round = 10 MERT iterations). <br />
  &quot;-log&quot; specifies the log file generated by MERT.</span><br/>
</li>
<li>
  <p class="STYLE12">Output: After MER training, the optimized feature weights are automatically recorded in the &quot;-config&quot; file (last line). Then, the config can be used to decode new sentences.<br />
    </p>
</li>
</UL>
<!-- Step 6 -->
<p class="STYLE12"><strong>6. Decoding Test Sentences</strong><br />
<UL>
<li>
<p class="STYLE12">Instructions (perl is required). Take tree-to-string model as an instance.</p>
<p><strong>string-to-tree</strong></p>
<PRE>
$> cd NiuTrans/scripts/
$> mkdir ../work/syntax.trans.result/ -p
$> perl NiuTrans-syntax-decoder-model.pl \
        -model  s2t \
        -config ../work/config/NiuTrans.syntax.s2t.user.config \
        -test   ../sample-data/sample-submission-version/Test-set/Niu.test.tree.txt \
        -output ../work/syntax.trans.result/Niu.test.syntax.s2t.translated.en.txt
</PRE>
<p><strong>tree-to-string</strong></p>
<PRE>
$> cd NiuTrans/scripts/
$> mkdir ../work/syntax.trans.result/ -p
$> perl NiuTrans-syntax-decoder-model.pl \
        -model  t2s \
        -config ../work/config/NiuTrans.syntax.t2s.user.config \
        -test   ../sample-data/sample-submission-version/Test-set/Niu.test.tree.txt \
        -output ../work/syntax.trans.result/Niu.test.syntax.t2s.translated.en.txt
</PRE>
<p><strong>tree-to-tree</strong></p>
<PRE>
$> cd NiuTrans/scripts/
$> mkdir ../work/syntax.trans.result/ -p
$> perl NiuTrans-syntax-decoder-model.pl \
        -model  t2t \
        -config ../work/config/NiuTrans.syntax.t2t.user.config \
        -test   ../sample-data/sample-submission-version/Test-set/Niu.test.tree.txt \
        -output ../work/syntax.trans.result/Niu.test.syntax.t2t.translated.en.txt
</PRE>
<span class="STYLE20">
"-model" specifies what type of rules can be used for decoder, its value can be "s2t", "t2s" or "t2t".<br/>
"-config" specifies the configuration file. <br/>
&quot;-test&quot; specifies the test dataset (one sentence per line).<br/>
  &quot;-output&quot; specifies the translation result file (the result is dumped to "stdout" if this option is not specified). </span><br/>
</li>
<li><p class="STYLE12">Output</p>
<p><strong>string-to-tree</strong></p>
  <p class="STYLE12">Output: a new file is generated in <span class="STYLE20">&quot;NiuTrans/work/syntax.trans.result&quot;</span>:<br />
  <PRE>
- Niu.test.syntax.s2t.translated.en.txt                # 1-best translation of the test sentences
</PRE>
  </p>
<p><strong>tree-to-string</strong></p>
  <p class="STYLE12">Output: a new file is generated in <span class="STYLE20">&quot;NiuTrans/work/syntax.trans.result&quot;</span>:<br />
  <PRE>
- Niu.test.syntax.t2s.translated.en.txt                # 1-best translation of the test sentences
</PRE>
  </p>
<p><strong>tree-to-tree</strong></p>
  <p class="STYLE12">Output: a new file is generated in <span class="STYLE20">&quot;NiuTrans/work/syntax.trans.result&quot;</span>:<br />
  <PRE>
- Niu.test.syntax.t2t.translated.en.txt                # 1-best translation of the test sentences
</PRE>
  </p>
</li>
</UL>
<!-- Step 7 -->
<p class="STYLE12"><strong>7. Evaluation</strong><br />
<UL>
<li>
<p class="STYLE12">Instructions (perl is required)</p>
<p><strong>string-to-tree</strong></p>
<PRE>
$> perl NiuTrans-generate-xml-for-mteval.pl \
        -1f   ../work/syntax.trans.result/Niu.test.syntax.s2t.translated.en.txt \
        -tf   ../sample-data/sample-submission-version/Reference-for-evaluation/Niu.test.reference \ 
        -rnum 1
$> perl mteval-v13a.pl \
        -r    ref.xml \
        -s    src.xml \
        -t    tst.xml
</PRE>
<p><strong>tree-to-string</strong></p>
<PRE>
$> perl NiuTrans-generate-xml-for-mteval.pl \
        -1f   ../work/syntax.trans.result/Niu.test.syntax.t2s.translated.en.txt \
        -tf   ../sample-data/sample-submission-version/Reference-for-evaluation/Niu.test.reference \
        -rnum 1
$> perl mteval-v13a.pl \
        -r    ref.xml \
        -s    src.xml \
        -t    tst.xml
</PRE>
<p><strong>tree-to-tree</strong></p>
<PRE>
$> perl NiuTrans-generate-xml-for-mteval.pl \
        -1f   ../work/syntax.trans.result/Niu.test.syntax.t2t.translated.en.txt \
        -tf   ../sample-data/sample-submission-version/Reference-for-evaluation/Niu.test.reference \
        -rnum 1
$> perl mteval-v13a.pl \
        -r    ref.xml \
        -s    src.xml \
        -t    tst.xml
</PRE>
<span class="STYLE20">
&quot;-1f&quot; specifies the file of the 1-best translations of the test dataset. <br/>
&quot;-tf&quot; specifies the file of the source sentences and their reference translations of the test dataset. <br/>
&quot;-rnum&quot; specifies how many reference translations per test sentence are provided.<br/>
&quot;-r&quot; specifies the file of the reference translations. <br/>
&quot;-s&quot; specifies the file of source sentences. <br/>
&quot;-t&quot; specifies the file of (1-best) translations generated by the MT system.</span><br/>
</li>
<li>
  <p class="STYLE12">Output: The IBM-version BLEU score is displayed<span class="STYLE20"></span>. If everything goes well, you will obtain a score of about <B>0.2212</B> for the sample data set. <br />
</p>
</li>
<li>
<p class="STYLE12">Note: script <a href="ftp://jaguar.ncsl.nist.gov/mt/resources/mteval-v13a.pl">mteval-v13a.pl</a> relies on the package <a href="http://search.cpan.org/~toddr/XML-Parser-2.41/Parser.pm">XML::Parser</a>. If XML::Parser is not installed on your system, please follow the following commands to install it. 
<pre>
$> su root
$> tar xzf XML-Parser-2.41.tar.gz
$> cd XML-Parser-2.41/
$> perl Makefile.PL
$> make install
</pre>
</p>
</li>
</UL>
           
<hr style="width:30%; text-align:left; margin: 0 auto 0 0;"/>

<!-- ############################### -->
<!-- Usage -->
<p class="STYLE13">Advanced Usage<br />
<span class="STYLE12">In addition to the brief manual shown above, a more detailed description of various settings can be found <a href="NiuTransAdvancedUsage.html">here</a>. In general, the BLEU score can be further improved by using those advanced features. Hope it helps!</span></p>

  </td>
</tr>
</table>

</body>
</html>
