Difference between revisions of "Compiling the North Saami - Inari Saami translator"

From Apertium
Jump to navigation Jump to search
Line 8: Line 8:
   
 
<pre>
 
<pre>
$ ./autogen.sh --with-lang1=/path/to/giellatekno/langs/sme/tools/mt/apertium --with-lang2=/path/to/giellatekno/langs/smn/tools/mt/apertium
+
./autogen.sh --with-lang1=/path/to/giellatekno/langs/sme/tools/mt/apertium --with-lang2=/path/to/giellatekno/langs/smn/tools/mt/apertium
   
$ make
+
make
  +
</pre>
   
  +
To test the setup, do:
$ echo "sámit" | apertium -d . sme-smn-dgen
 
  +
<pre>
 
echo "sámit" | apertium -d . sme-smn-dgen
 
säämih
 
säämih
 
 
</pre>
 
</pre>
   

Revision as of 07:31, 27 March 2020

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