Sentence Alignment Setup » History » Version 12
Prokopis Prokopidis, 2016-02-12 03:31 PM
1 | 8 | Prokopis Prokopidis | # Sentence Alignment Setup |
---|---|---|---|
2 | 1 | Prokopis Prokopidis | |
3 | 12 | Prokopis Prokopidis | For the generation of sentence alignments from bilingual crawls, ILSP-FC integrates the java sentence aligner provided at https://github.com/loomchild/maligna/. Alternatively you can use an external aligner like hunalign. For example, for the current version of ILSP-FC, you can |
4 | 6 | Prokopis Prokopidis | |
5 | 1 | Prokopis Prokopidis | * download the hunalign-1.2 source code from http://mokk.bme.hu/en/resources/hunalign/ |
6 | 1 | Prokopis Prokopidis | * follow the instructions on the hunalign page for building hunalign |
7 | 6 | Prokopis Prokopidis | * put the hunalign directory containing the hunalign executable next to the runnable ilsp-fc jar. |
8 | 1 | Prokopis Prokopidis | |
9 | 12 | Prokopis Prokopidis | In more details, if you run ilsp-fc from: |
10 | 12 | Prokopis Prokopidis | |
11 | 8 | Prokopis Prokopidis | ``` |
12 | 10 | Prokopis Prokopidis | ~/ilsp-fc/ilsp-fc-x.x-jar-with-dependencies.jar |
13 | 8 | Prokopis Prokopidis | ``` |
14 | 1 | Prokopis Prokopidis | |
15 | 6 | Prokopis Prokopidis | you should do the following |
16 | 1 | Prokopis Prokopidis | |
17 | 8 | Prokopis Prokopidis | ``` |
18 | 6 | Prokopis Prokopidis | cd ~/ilsp-fc/ |
19 | 6 | Prokopis Prokopidis | wget ftp://ftp.mokk.bme.hu/Hunglish/src/hunalign/latest/hunalign-1.2.tgz |
20 | 1 | Prokopis Prokopidis | tar xvfz hunalign-1.2.tgz |
21 | 6 | Prokopis Prokopidis | cd hunalign-1.2/src/hunalign/ |
22 | 1 | Prokopis Prokopidis | make |
23 | 1 | Prokopis Prokopidis | ln -sf hunalign-1.2 hunalign |
24 | 8 | Prokopis Prokopidis | ``` |
25 | 1 | Prokopis Prokopidis | |
26 | 6 | Prokopis Prokopidis | This should create hunalign/src/hunalign/hunalign with the suggested hunalign directory structure, including |
27 | 1 | Prokopis Prokopidis | |
28 | 8 | Prokopis Prokopidis | ``` |
29 | 8 | Prokopis Prokopidis | ~/ilsp-fc/hunalign/data/ |
30 | 8 | Prokopis Prokopidis | ~/ilsp-fc/hunalign/src/hunalign/hunalign |
31 | 8 | Prokopis Prokopidis | ``` |
32 | 4 | Prokopis Prokopidis | |
33 | 1 | Prokopis Prokopidis | 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. |