Difference between revisions of "Apertium-quality"
From LING073
(→Installation) |
|||
| Line 4: | Line 4: | ||
== Installation == | == Installation == | ||
| + | {{comment|these are old instructions}} | ||
Ideally the virtual machines would have these tools installed by default, but they may not. | Ideally the virtual machines would have these tools installed by default, but they may not. | ||
Revision as of 06:09, 15 February 2018
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
these are old instructions
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 install
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.