This is an Apertium language pair for translating between Afrikaans and Dutch. What you can use this language package for:
- Translating between Afrikaans and Dutch
- Morphological analysis of Afrikaans and Dutch
- Part-of-speech tagging of Afrikaans and Dutch
For information on the latter two points, see subheading "For more information" below
You will need the following software installed:
- lttoolbox (>= 3.2.0)
- apertium (>= 3.2.0)
If this does not make any sense, we recommend you look at: apertium.org
Given the requirements being installed, you should be able to just run:
$ ./configure
$ make
You can use ./autogen.sh
instead of ./configure
you're compiling from
git. If you're using a --prefix
to ./configure
, make sure it's the
same one you used to install apertium itself.
If you are in the source directory after running make
, the following
commands should work:
$ echo "Hy kan nie kom nie want hy is siek." | apertium -d . afr-nld
Hij kan niet komen want hij is ziek.
After installing somewhere in $PATH, you should be able to do eg.
$ echo "Hy kan nie kom nie want hy is siek." | apertium afr-nld
Hij kan niet komen want hij is ziek.
The following command runs tests which are on the Apertium wiki page:
$ ./regression-tests.sh
apertium-af-nl.af.dix
- Monolingual dictionary for Afrikaansapertium-af-nl.af-nl.dix
- Bilingual dictionaryapertium-af-nl.nl.dix
- Monolingual dictionary for Dutchapertium-af-nl.af-nl.t1x
- Chunker rules for translating into Dutchapertium-af-nl.af-nl.t2x
- Interchunk rules for translating into Dutchapertium-af-nl.af-nl.t3x
- Postchunk rules for translating into Dutchapertium-nl-af.nl-af.t1x
- Chunker rules for translating into Afrikaansapertium-nl-af.nl-af.t2x
- Interchunk rules for translating into Afrikaansapertium-nl-af.nl-af.t3x
- Postchunk rules for translating into Afrikaansaf-nl.prob
- Tagger model for Afrikaansnl-af.prob
- Tagger model for Dutchmodes.xml
- Translation modes
- https://wiki.apertium.org/wiki/Installation
- https://wiki.apertium.org/wiki/apertium-af-nl
- https://wiki.apertium.org/wiki/Using_an_lttoolbox_dictionary
If you need help using this language pair or data, you can contact:
- Mailing list: [email protected]
- IRC:
#apertium
onirc.oftc.net
See also the file AUTHORS included in this distribution.