Installation of grammar libraries

From Apertium
Revision as of 10:35, 23 September 2016 by Rcrowther (talk | contribs) (New page to gather this information together)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Some language pairs need code libraries which are not part of Apertium core. You may not know until a compile starts streaming messages.

Fortunately (for Debian-derivative users), these rule-builders are available through the Installation#The private repository packages. You can access and install the packages even if your Apertium is a compiled build. Otherwise, you may need to compile.


VISL CG3 ('vislcg3' / 'cg-proc' / 'cg-comp')

e.g. the Macedonian→English, Breton→French, Nynorsk-Bokmål pairs.

packages

Debian / Ubuntu Derivatives
wget http://apertium.projectjj.com/apt/install-nightly.sh -O - | sudo bash
sudo apt-get install cg3

compiling

See Vislcg3#Installing_VISL_CG3.

Note that you have to have ICU installed beforehand (available through most GNU/Linux package managers, in Arch Linux as icu, in Debian/Ubuntu as libicu-dev, in Macports as icu).


HFST ('hfst-proc' / 'hfst-lexc' / 'hfst-twolc')

e.g. the Turkic and Saami pairs.

packages

Debian / Ubuntu Derivatives
wget http://apertium.projectjj.com/apt/install-nightly.sh -O - | sudo bash
sudo apt-get install hfst


compiling

See HFST#Building and installing HFST.