Difference between revisions of "Apertium-quality"

From LING073
Jump to: navigation, search
(Created page with "'''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....")
 
Line 25: Line 25:
  
 
You can test it by running any of the tools with <code>-h</code> after them.  They should show you some short documentation on how to use each tool.
 
You can test it by running any of the tools with <code>-h</code> after them.  They should show you some short documentation on how to use each tool.
 +
 +
[[Category:Tools]]

Revision as of 19:55, 12 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 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.