Difference between revisions of "Compiling the North Saami - Inari Saami translator"
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 |
|
− | + | make |
|
+ | </pre> |
||
+ | To test the setup, do: |
||
⚫ | |||
+ | <pre> |
||
⚫ | |||
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