Difference between revisions of "Apertium-quality"
From LING073
(→Installation) |
|||
| Line 8: | Line 8: | ||
First you need to get and install mwtools: | First you need to get and install mwtools: | ||
<pre> | <pre> | ||
| + | sudo apt-get install python3-setuptools | ||
cd ~/Source | cd ~/Source | ||
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 | ||
Revision as of 16:30, 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:
sudo apt-get install python3-setuptools 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.