Difference between revisions of "Northern Sámi and Norwegian/Installation"

From Apertium
Jump to navigation Jump to search
Line 29: Line 29:
 
make
 
make
   
(or, if you did "make install" in giella-sme and apertium-nob, just "./autogen.sh && make")
+
(or, if you did "make install" in giella-sme and apertium-nob, just "./autogen.sh && make").
  +
  +
If you've installed [[Bash completion]] and set the $GTHOME variable as per http://giellatekno.uit.no/doc/infra/GettingStarted.html, you can just do "./autogen.sh -TAB" and it'll fill out the tools/mt/apertium path for you.
   
 
[[Category:Installation]]
 
[[Category:Installation]]

Revision as of 11:11, 17 February 2015

Prerequisites:

To install giella-sme, do:

svn co https://victorio.uit.no/langtech/trunk/gtcore
cd gtcore
./autogen.sh && ./configure && make
export GTCORE="`pwd`"
echo "export GTCORE=\"`pwd`\"" >> ~/.bashrc
cd ..
svn co https://victorio.uit.no/langtech/trunk/langs/sme
./autogen.sh && ./configure --enable-apertium --with-hfst --without-xfst  --disable-spellers --disable-analysers --disable-generators && make
cd tools/mt/apertium
pwd


That last directory (sme/tools/mt/apertium) is the source dir which you use with apertium-sme-nob, so compilation of sme-nob becomes something like

./autogen.sh --with-lang1=$HOME/src/sme/tools/mt/apertium --with-lang2=$HOME/src/apertium-nob
make

(or, if you did "make install" in giella-sme and apertium-nob, just "./autogen.sh && make").

If you've installed Bash completion and set the $GTHOME variable as per http://giellatekno.uit.no/doc/infra/GettingStarted.html, you can just do "./autogen.sh -TAB" and it'll fill out the tools/mt/apertium path for you.