Matxin-spa
Jump to navigation
Jump to search
matxin-spa is an analysis component for Spanish to be used in the Matxin machine translation system based on FreeLing.
Prerequisites
- FreeLing (version 3.1)
- Apertium
Installation
$ git clone https://github.com/matxin/matxin-spa.git $ cd matxin-spa $ ./autogen.sh $ make $ make install
Testing
$ echo "Esto es una prueba." | matxin -f none -d . spa-analyser <?xml version='1.0' encoding='UTF-8' ?> <corpus> <SENTENCE ord='1' alloc='0'> <CHUNK ord='2' alloc='5' type='grup-verb' si='top'> <NODE ord='2' alloc='5' form='es' lem='ser' mi='VSIP3S0'> </NODE> <CHUNK ord='1' alloc='0' type='sn' si='subj'> <NODE ord='1' alloc='0' form='Esto' lem='este' mi='PD0NS000'> </NODE> </CHUNK> <CHUNK ord='3' alloc='8' type='sn' si='att'> <NODE ord='4' alloc='12' form='prueba' lem='prueba' mi='NCFS000'> <NODE ord='3' alloc='8' form='una' lem='uno' mi='DI0FS0'> </NODE> </NODE> </CHUNK> <CHUNK ord='4' alloc='18' type='F-term' si='term'> <NODE ord='5' alloc='18' form='.' lem='.' mi='Fp'> </NODE> </CHUNK> </CHUNK> </SENTENCE> </corpus>