Sentence Alignment Setup » History » Version 7
Version 6 (Prokopis Prokopidis, 2014-09-09 01:55 PM) → Version 7/12 (Vassilis Papavassiliou, 2014-09-09 03:12 PM)
h1. Sentence Alignment Setup
For In order to get sentence alignments as the generation output of sentence alignments from bilingual crawls, ILSP-FC integrates the java sentence aligner provided at http://align.sourceforge.net/. Alternatively you can use an external aligner like hunalign.
For example, for the current version of ILSP-FC, you can
* download the hunalign-1.2 source code from http://mokk.bme.hu/en/resources/hunalign/
* follow the instructions on the hunalign page for building hunalign
* put the hunalign directory containing the hunalign executable next to the runnable ilsp-fc jar.
For example, if you run ilsp-fc from:
<pre>~/ilsp-fc/ilsp-fc-2.2-jar-with-dependencies.jar</pre>
you should do the following
<pre>
cd ~/ilsp-fc/
wget ftp://ftp.mokk.bme.hu/Hunglish/src/hunalign/latest/hunalign-1.2.tgz
tar xvfz hunalign-1.2.tgz
cd hunalign-1.2/src/hunalign/
make
ln -sf hunalign-1.2 hunalign
</pre>
This should create hunalign/src/hunalign/hunalign with the suggested hunalign directory structure, including
<pre>~/ilsp-fc/hunalign/data/
~/ilsp-fc/hunalign/src/hunalign/hunalign</pre>
Now, you are ready to produce TMX files from bilingual crawled data using the <code>-align</code>, <code>-dict</code>, <code>-oft</code> and <code>-ofth</code> options described in the [[GettingStarted|Getting Started]] part of the documentation.
For In order to get sentence alignments as the generation output of sentence alignments from bilingual crawls, ILSP-FC integrates the java sentence aligner provided at http://align.sourceforge.net/. Alternatively you can use an external aligner like hunalign.
For example, for the current version of ILSP-FC, you can
* download the hunalign-1.2 source code from http://mokk.bme.hu/en/resources/hunalign/
* follow the instructions on the hunalign page for building hunalign
* put the hunalign directory containing the hunalign executable next to the runnable ilsp-fc jar.
For example, if you run ilsp-fc from:
<pre>~/ilsp-fc/ilsp-fc-2.2-jar-with-dependencies.jar</pre>
you should do the following
<pre>
cd ~/ilsp-fc/
wget ftp://ftp.mokk.bme.hu/Hunglish/src/hunalign/latest/hunalign-1.2.tgz
tar xvfz hunalign-1.2.tgz
cd hunalign-1.2/src/hunalign/
make
ln -sf hunalign-1.2 hunalign
</pre>
This should create hunalign/src/hunalign/hunalign with the suggested hunalign directory structure, including
<pre>~/ilsp-fc/hunalign/data/
~/ilsp-fc/hunalign/src/hunalign/hunalign</pre>
Now, you are ready to produce TMX files from bilingual crawled data using the <code>-align</code>, <code>-dict</code>, <code>-oft</code> and <code>-ofth</code> options described in the [[GettingStarted|Getting Started]] part of the documentation.