Difference between revisions of "Udmurt and Komi"

From Apertium
Jump to navigation Jump to search
Line 33: Line 33:
$ cd giella-udm
$ cd giella-udm
$ ./autogen.sh
$ ./autogen.sh
$ ./configure --enable-apertium
$ ./configure --with-hfst --enable-reversed-intersect --enable-apertium
$ make
$ make
$ cd ..
$ cd ..
Line 40: Line 40:
<pre>
<pre>
$ svn co https://victorio.uit.no/langtech/trunk/langs/kpv giella-kpv
$ svn co https://victorio.uit.no/langtech/trunk/langs/kpv giella-kpv
$ cd giella-kpv$ ./autogen.sh
$ cd giella-kpv
$ ./autogen.sh
$ ./configure --enable-apertium
$ ./configure --with-hfst --enable-reversed-intersect --enable-apertium
$ make
$ make
$ cd ..
$ cd ..

Revision as of 18:34, 23 April 2018

Code

Monolingual dependencies

$ svn co https://victorio.uit.no/langtech/trunk/giella-core
$ cd giella-core
$ ./autogen.sh
$ ./configure
$ make
$ cd ..
$ svn co https://victorio.uit.no/langtech/trunk/giella-shared
$ cd giella-shared
$ ./autogen.sh
$ ./configure
$ make
$ cd ..

Now edit your $HOME/.bashrc and add two lines, replacing /PATH/TO with the full path to those directories:

export GIELLA_CORE=/PATH/TO/giella-core
export GIELLA_SHARED=/PATH/TO/giella-shared

And do source ~/.bashrc

$ svn co https://victorio.uit.no/langtech/trunk/langs/udm giella-udm
$ cd giella-udm
$ ./autogen.sh
$ ./configure --with-hfst --enable-reversed-intersect --enable-apertium
$ make
$ cd ..
$ svn co https://victorio.uit.no/langtech/trunk/langs/kpv giella-kpv
$ cd giella-kpv
$ ./autogen.sh
$ ./configure  --with-hfst --enable-reversed-intersect --enable-apertium
$ make
$ cd ..

Language pair

$ git clone git@github.com:/apertium/apertium-udm-kpv.git
$ cd apertium-udm-kpv
$ ./autogen.sh --with-lang1=../giella-udm/tools/mt/apertium --with-lang2=../giella-kpv/tools/mt/apertium
$ make