Difference between revisions of "Morphological analyser/Setup"
From LING073
m (Jwashin1 moved page Morphological analyser/Exercises/Setup to Morphological analyser/Setup) |
|||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
| + | Install <code>morph-test</code> and <code>morphTests2yaml</code>: | ||
<pre> | <pre> | ||
cd ~/Source | cd ~/Source | ||
| Line 6: | Line 7: | ||
</pre> | </pre> | ||
| + | Install <code>apertium-init</code>: | ||
<pre> | <pre> | ||
cd ~/Source | cd ~/Source | ||
| Line 13: | Line 15: | ||
</pre> | </pre> | ||
| + | Initialise a language module with apertium-init: | ||
<pre> | <pre> | ||
cd ~/Source | cd ~/Source | ||
| Line 22: | Line 25: | ||
</pre> | </pre> | ||
| + | Scrape some English texts (see [[morphTests2yaml]] for more): | ||
<pre> | <pre> | ||
cd ~/Source | cd ~/Source | ||
Latest revision as of 10:23, 9 February 2017
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