de-francophones's picture
Upload 238 files
2c1ef0b verified
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