Project

General

Profile

Segment Alignment » History » Version 4

Vassilis Papavassiliou, 2017-02-08 11:48 AM

1 1 Prokopis Prokopidis
# Segment Alignment
2 1 Prokopis Prokopidis
3 1 Prokopis Prokopidis
4 1 Prokopis Prokopidis
It uses maligna aligner for identifying segment pairs from each detect document pair. It generates a TMX file for each cesAlign file (e.g. eng-12_ell-18_x.tmx for eng-12_ell-18_x.xml).
5 1 Prokopis Prokopidis
6 1 Prokopis Prokopidis
```
7 4 Vassilis Papavassiliou
java -Dlog4j.configuration=file:/opt/ilsp-fc/log4j.xml -jar /opt/ilsp-fc/ilsp-fc-2.2.4-jar-with-dependencies.jar \
8 4 Vassilis Papavassiliou
-align -lang "L1;L2" -i (fullpath of dir with the generated cesAlign) \
9 4 Vassilis Papavassiliou
-bs (fullpath and basename on which all files for easier content navigation will be generated) \
10 4 Vassilis Papavassiliou
-oxslt &>"/var/www/tests/log-align"
11 1 Prokopis Prokopidis
```
12 1 Prokopis Prokopidis
13 3 Vassilis Papavassiliou
## Options
14 1 Prokopis Prokopidis
15 3 Vassilis Papavassiliou
```
16 3 Vassilis Papavassiliou
-align	: for segment alignment
17 1 Prokopis Prokopidis
18 3 Vassilis Papavassiliou
-i      : crawlpath up to the auto-generated dir by the crawl module
19 3 Vassilis Papavassiliou
20 3 Vassilis Papavassiliou
-lang   : two or three letter ISO code(s) of target language(s), 
21 3 Vassilis Papavassiliou
          e.g.  el (for a monolingual crawl for Greek content) or en;el (for a bilingual crawl)
22 3 Vassilis Papavassiliou
          CesDoc files will be generated only for crawled web documents that are in the targeted language(s)
23 3 Vassilis Papavassiliou
24 3 Vassilis Papavassiliou
-bs     : Basename to be used in generating all files for easier content navigation
25 3 Vassilis Papavassiliou
26 3 Vassilis Papavassiliou
-oxslt  : Export crawl results with the help of an xslt file for better examination of results.
27 3 Vassilis Papavassiliou
```