Compiling the language pair

From Apertium
Revision as of 13:34, 5 January 2016 by Trondtr (talk | contribs) (Created page with "== Compiling the language pair == ; Get the source code <pre> mkdir giellatekno cd giellatekno svn co https://victorio.uit.no/langtech/trunk/langs/fin giella-fin svn co http...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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/gtcore 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-est
./autogen.sh
./configure --with-hfst --without-xfst --enable-apertium --prefix=$PREFIX/local
make V=1
cd ..

cd giella-fin
./autogen.sh
./configure --with-hfst --without-xfst --enable-apertium --prefix=$PREFIX/local
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 ..