Difference between revisions of "Installing the Komi Zyrian - Komi Permyak language pair"

From Apertium
Jump to navigation Jump to search
(Created page with "===Monolingual dependencies=== <pre> $ svn co https://victorio.uit.no/langtech/trunk/giella-core $ cd giella-core $ ./autogen.sh $ ./configure $ make $ cd .. </pre> <pre> $ s...")
 
 
Line 1: Line 1:
  +
  +
The Komi Zyrian pair uses the [[http://giellalt.uit.no Giella infrastructure]] for its monolingual transducers. If you have already se it up, see '''Language pair''' below. If not, the following is a minimal installation (ask a unix guru for help and see [https://giellalt.uit.no/infra/GettingStarted.html the Giella documentation] if the commands below do not make sense to you).
  +
 
===Monolingual dependencies===
 
===Monolingual dependencies===
 
<pre>
 
<pre>

Latest revision as of 05:22, 3 April 2020

The Komi Zyrian pair uses the [Giella infrastructure] for its monolingual transducers. If you have already se it up, see Language pair below. If not, the following is a minimal installation (ask a unix guru for help and see the Giella documentation if the commands below do not make sense to you).

Monolingual dependencies[edit]

$ 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/kpv giella-kpv
$ cd giella-kpv
$ ./autogen.sh
$ ./configure --with-hfst --enable-reversed-intersect --enable-apertium
$ make
$ cd ..
$ svn co https://victorio.uit.no/langtech/trunk/langs/koi giella-koi
$ cd giella-koi
$ ./autogen.sh
$ ./configure  --with-hfst --enable-reversed-intersect --enable-apertium
$ make
$ cd ..

Language pair[edit]

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