How to bootstrap a new pair

From Apertium
Jump to navigation Jump to search

Prerequisites

You need to get this installed first:

  • apertium-init
  • apertium/lttoolbox/hfst, see Installation, in particular the prerequisites parts. (You most likely don't need to go all the way to "minimal instlalation from svn", since you should get this stuff from Tino's repositories. If you're on Windows, get the virtualbox)

With two existing monolingual packages

First compile the monolingual packages:


Then generate the pair:


Then compile the pair:

./autogen.sh
./configure --with-lang1=/path/to/apertium-xxx --with-lang2=/path/to/apertium-yyy

And test:

With one existing monolingual package

First make a new monolingual package:

Then compile the monolingual packages:


Then generate the pair:


Then compile the pair:

And test:

With no existing monolingual packages

First make the two monolingual packages:

Then compile the monolingual packages:


Then generate the pair:


Then compile the pair:

And test: