Difference between revisions of "Compiling the language pair"
Jump to navigation
Jump to search
(update giella-core link) |
(giella-shared is now needed for the languages) |
||
Line 22: | Line 22: | ||
cd core |
cd core |
||
./autogen.sh |
|||
./configure --disable-silent-rules --prefix=$PREFIX/local |
|||
make install |
|||
cd .. |
|||
cd giella-shared |
|||
./autogen.sh |
./autogen.sh |
||
./configure --disable-silent-rules --prefix=$PREFIX/local |
./configure --disable-silent-rules --prefix=$PREFIX/local |
||
Line 27: | Line 34: | ||
echo "export GTCORE=$HOME/giellatekno/core/" >> $HOME/.profile |
echo "export GTCORE=$HOME/giellatekno/core/" >> $HOME/.profile |
||
echo "export GIELLA_SHARED=$HOME/giellatekno/giella-shared/" >> $HOME/.profile |
|||
. ~/.profile |
. ~/.profile |
||
Revision as of 08:36, 21 September 2016
Compiling the language pair
- Get the source code
mkdir giellatekno cd giellatekno svn co https://victorio.uit.no/langtech/trunk/langs/fin giella-fin svn co https://victorio.uit.no/langtech/trunk/langs/est giella-est svn co https://victorio.uit.no/langtech/trunk/giella-core core cd .. mkdir apertium cd apertium svn co https://svn.code.sf.net/p/apertium/svn/incubator/apertium-fin-est cd ..
- Build Giellatekno components
cd giellatekno cd core ./autogen.sh ./configure --disable-silent-rules --prefix=$PREFIX/local make install cd .. cd giella-shared ./autogen.sh ./configure --disable-silent-rules --prefix=$PREFIX/local make install echo "export GTCORE=$HOME/giellatekno/core/" >> $HOME/.profile echo "export GIELLA_SHARED=$HOME/giellatekno/giella-shared/" >> $HOME/.profile . ~/.profile cd .. cd giella-est ./autogen.sh -l ./configure --with-hfst --without-xfst --enable-apertium make V=1 cd .. cd giella-fin ./autogen.sh -l ./configure --with-hfst --without-xfst --enable-apertium make V=1 cd .. cd ..
- Build Apertium components
cd apertium cd apertium-fin-est ./autogen.sh --with-lang1=../../giellatekno/giella-fin/tools/mt/apertium --with-lang2=../../giellatekno/giella-est/tools/mt/apertium \ --prefix=$PREFIX/local make cd ..