Northern Sámi and Norwegian/Installation

From Apertium
Jump to navigation Jump to search

Installation

Developers will need the compilers (hfst, vislcg3, apertium) as well as the North Saami analyser, the translation program and the Norwegian generator. Ready-compiled (hfst, vislcg3) files as well as source file for downloands and compilation are found via these links:

The North Saami analyser should be compiled in lang-sme with the following configuration

./autogen.sh # thereafter follow the instructions wrt. giella-core
./configure --enable-apertium
make

The North Saami - Norwegian translation programs should be set up as follows. Assuming you have installed the apertium repositories in apertium, the North Saami one in giellalt and both in the same directory, the following commands may be run in apertium-sme-nob:

./configure --with-lang1=../../giellalt/lang-sme/tools/mt/apertium --with-lang2=../apertium-nob
make


If you've installed Bash completion and set the $GTHOME variable as per Getting Started, you can just do "./autogen.sh -TAB" and it'll fill out the tools/mt/apertium path for you.