Difference between revisions of "Apertium-quality"
From LING073
| Line 11: | Line 11: | ||
git clone https://github.com/jonorthwash/mwtools.git # or use git@github.com:jonorthwash/mwtools.git | git clone https://github.com/jonorthwash/mwtools.git # or use git@github.com:jonorthwash/mwtools.git | ||
cd mwtools/python3 | cd mwtools/python3 | ||
| − | sudo python3 | + | sudo python3 setup.py |
</pre> | </pre> | ||
Revision as of 16:29, 14 February 2017
Apertium-quality is a set of evaluation tools developed for use with Apertium. The full documentation is available on the Apertium wiki: apertium:Apertium quality.
Some useful tools included are aq-morftest and aq-covtest.
Installation
Ideally the virtual machines would have these tools installed by default, but they may not.
First you need to get and install mwtools:
cd ~/Source git clone https://github.com/jonorthwash/mwtools.git # or use git@github.com:jonorthwash/mwtools.git cd mwtools/python3 sudo python3 setup.py
Then you need to get and install apertium-quality:
cd ~/Source svn checkout http://svn.code.sf.net/p/apertium/svn/trunk/apertium-tools/apertium-quality/ cd apertium-quality ./autogen.sh make sudo make install
You can test it by running any of the tools with -h after them. They should show you some short documentation on how to use each tool.