Anymalign

Anymalign

Anymalign is a multilingual sub-sentential aligner. It can extract lexical equivalences from sentence-aligned parallel corpora. Its main advantage over other similar tools is that it can align any number of languages simultaneously.
Characteristics:

1. Truly multilingual: any number of languages can be aligned simultaneously.
2. Fast? Quality of results is not a matter of time, however coverage is. The longer Anymalign runs, the more results. The program can be stopped at any time.
3. Easy to use: a single command should suffice for most purposes. Still from a command line!
4. Easy to parallelize: just run the very same command on several machines! Their results can be merged with a single command.
5. Easy to integrate: simple one-file input and output formats. There is no intermediary step.
6. Portable: written in the Python programming language, available for most systems.
7. Open source: released under the terms of the GPL.

Input: Tokenised one-sentence-per-line text for source and target languages.
Output: phrase table in Moses format

Warning: as any word aligner, it needs a reasonably big size of input data to produce meaningful alignments

Input example:
http://www.computing.dcu.ie/~atoral/panacea/ws/samples/aligner_input.en.txt
http://www.computing.dcu.ie/~atoral/panacea/ws/samples/aligner_input.es.txt

Output example:
After a sharp drop in the morning , the Prague Stock Market corrected its losses . ||| Después de la rápida caída de la mañana , la Bolsa de Praga corrigió sus pérdidas . ||| 1.000000 1.000000 2.718
Transactions with stocks from the Czech Energy Enterprise ( CEZ ) reached nearly half of the regular daily trading . ||| Las transacciones de las acciones de CEZ alcanzaron aproximadamente la mitad de valor que tienen en un día normal . ||| 1.000000 1.000000 2.718
This time the fall in stocks on Wall Street is responsible for the drop . ||| La bajada de esta vez se debe a la caída de las acciones en Wall Street . ||| 1.000000 1.000000 2.718
Prague Stock Market falls to minus by the end of the trading day . ||| La Bolsa de Praga terminó con menos puntos al final de la jornada . ||| 1.000000 1.000000 2.718
The Prague Stock Market immediately continued its fall from Monday at the beginning of Tuesday 's trading , when it dropped by nearly six percent . ||| La Bolsa de Praga , al principio del martes comercial , reaccionó inmediatamente a la caída del lunes cuando descendió aproximadamente a un 6 % . ||| 1.000000 1.000000 2.718
stocks ||| las acciones en ||| 1.000000 1.000000 2.718
by ||| al ||| 1.000000 1.000000 2.718
fall ||| a ||| 1.000000 1.000000 2.718
drop in ||| caída ||| 1.000000 1.000000 2.718

You don’t have the permission to edit this resource.