Compiling the North Saami - Inari Saami translator

From Apertium
Revision as of 07:31, 27 March 2020 by Trondtr (talk | contribs)
Jump to navigation Jump to search

You must have set up sme (lang1) and smn (lang2) in a version of the giella infrastructure (cf giellalt.uit.no, and compiled these two languages with the setup

 ./configure --with-hfst --enable-apertium --enable-reversed-intersect && make -j

Given that this is set up, go to the apertium-sme-smn catalogue (downloaded from github), and do:

./autogen.sh --with-lang1=/path/to/giellatekno/langs/sme/tools/mt/apertium --with-lang2=/path/to/giellatekno/langs/smn/tools/mt/apertium

make

To test the setup, do:

echo "sámit" | apertium -d . sme-smn-dgen
säämih