Morphological analyser/Setup

From LING073
Jump to: navigation, search

Install morph-test and morphTests2yaml:

cd ~/Source
git clone git@github.swarthmore.edu:Ling073-sp17/tools.git
cd tools
sudo make install

Install apertium-init:

cd ~/Source
git clone git@github.com:goavki/bootstrap.git
cd bootstrap
sudo make install

Initialise a language module with apertium-init:

cd ~/Source
apertium-init -a hfst eng
cd apertium-eng
git init ./
git add *
git commit

Scrape some English texts (see morphTests2yaml for more):

cd ~/Source
cd apertium-eng
mkdir tests
cd tests
wget http://unicode.org/udhr/d/udhr_eng.txt
morphTests2yaml "Morphological_analyser/Exercises" -l eng