Lttoolbox is a lexical and morphological analyser package from the Apertium machine translation system. Here is a brief install notes taken from my NLP summer school lab notes.
Build Lttoolbox
Download the lttoolbox source package from sourceforge.
tar zxvf lttoolbox-xxxxx.tgz
cd lttoolbox-xxxxx/
make
make install
You will need root level permission to install other dependency packages for lttoolbox . GNU Debian users however should use the lttoolbox debian package available in stable/testing/unstable and also read the Installing Apertium on Debian documentation page for more information.
Usage
If the tool is installed properly then you can look up the program install path with which lt-comp command.
Here I am compiling the Hindi dictionary with a left-to-right option lr, the output is stored in binary format in file 'mydata'. This binary file is used by the lt-proc processor to do the morph analysis.
lt-comp lr hi.dix.noun_f mydata
lt-proc ./mydata
For more information do read the manual pages for the lt-comp and lt-proc tools or fire me a email, I would love to you help you.
0 comments:
Post a Comment