File size: 1,351 Bytes
2c1ef0b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
This directory contains the results of the automatic alignment using the Vanilla aligner for all 231 language pairs of the JRC-Acquis.

As the disk space needed to store the 231 possible corpora was too high, we provide a program that generates the corpus for each of the language pairs on request:

  getAlignmentWithText.pl

This tool allows you to export your own language pair in the format of the English-French example in AlignmentCorpora. 

For details on using the tool, see the documentation using "perldoc getAlignmentWithText.pl". You can find it in the file 
  perldoc_for_getAlignmentWithText.pl .


Example of usage to produce an Italian-English corpus:

    Before launching the program, make sure you have uncompressed (using the gunzip
    command, for example) the alignment-links-xml file.

      GET http://wt.jrc.it/lt/Acquis/JRC-Acquis.3.0/alignments/jrc-en-it.xml.gz
      gunzip jrc-en-it.xml.gz

    Then, you need to get and unpack the two corpora:

      GET http://wt.jrc.it/lt/Acquis/JRC-Acquis.3.0/corpus/jrc-en.tgz
      GET http://wt.jrc.it/lt/Acquis/JRC-Acquis.3.0/corpus/jrc-it.tgz

      tar xzf jrc-en.tgz
      tar xzf jrc-it.tgz

    After this, you can launch this program using a perl5 interpreter:

      perl getAlignmentwithTextXml.pl jrc-en-it.xml > alignedCorpus_en_it.xml