| 1 |
Afrikaans and Dutch (`apertium-afr-nld`) |
| 2 |
=============================================================================== |
| 3 |
|
| 4 |
This is an Apertium language pair for translating between Afrikaans and |
| 5 |
Dutch. What you can use this language package for: |
| 6 |
|
| 7 |
* Translating between Afrikaans and Dutch |
| 8 |
* Morphological analysis of Afrikaans and Dutch |
| 9 |
* Part-of-speech tagging of Afrikaans and Dutch |
| 10 |
|
| 11 |
For information on the latter two points, see subheading "For more |
| 12 |
information" below |
| 13 |
|
| 14 |
Requirements |
| 15 |
=============================================================================== |
| 16 |
|
| 17 |
You will need the following software installed: |
| 18 |
|
| 19 |
* lttoolbox (>= 3.2.0) |
| 20 |
* apertium (>= 3.2.0) |
| 21 |
|
| 22 |
If this does not make any sense, we recommend you look at: www.apertium.org |
| 23 |
|
| 24 |
Compiling |
| 25 |
=============================================================================== |
| 26 |
|
| 27 |
Given the requirements being installed, you should be able to just run: |
| 28 |
``` |
| 29 |
$ ./configure |
| 30 |
$ make |
| 31 |
``` |
| 32 |
You can use `./autogen.sh` instead of `./configure` you're compiling from |
| 33 |
git. If you're using a `--prefix` to `./configure`, make sure it's the |
| 34 |
same one you used to install apertium itself. |
| 35 |
|
| 36 |
Testing |
| 37 |
=============================================================================== |
| 38 |
|
| 39 |
If you are in the source directory after running `make`, the following |
| 40 |
commands should work: |
| 41 |
``` |
| 42 |
$ echo "Hy kan nie kom nie want hy is siek." | apertium -d . afr-nld |
| 43 |
Hij kan niet komen want hij is ziek. |
| 44 |
``` |
| 45 |
After installing somewhere in $PATH, you should be able to do eg. |
| 46 |
``` |
| 47 |
$ echo "Hy kan nie kom nie want hy is siek." | apertium afr-nld |
| 48 |
Hij kan niet komen want hij is ziek. |
| 49 |
``` |
| 50 |
The following command runs tests which are on the Apertium wiki page: |
| 51 |
``` |
| 52 |
$ ./regression-tests.sh |
| 53 |
``` |
| 54 |
Files and data |
| 55 |
=============================================================================== |
| 56 |
|
| 57 |
* `apertium-af-nl.af.dix` - Monolingual dictionary for Afrikaans |
| 58 |
* `apertium-af-nl.af-nl.dix` - Bilingual dictionary |
| 59 |
* `apertium-af-nl.nl.dix` - Monolingual dictionary for Dutch |
| 60 |
* `apertium-af-nl.af-nl.t1x` - Chunker rules for translating into Dutch |
| 61 |
* `apertium-af-nl.af-nl.t2x` - Interchunk rules for translating into Dutch |
| 62 |
* `apertium-af-nl.af-nl.t3x` - Postchunk rules for translating into Dutch |
| 63 |
* `apertium-nl-af.nl-af.t1x` - Chunker rules for translating into Afrikaans |
| 64 |
* `apertium-nl-af.nl-af.t2x` - Interchunk rules for translating into Afrikaans |
| 65 |
* `apertium-nl-af.nl-af.t3x` - Postchunk rules for translating into Afrikaans |
| 66 |
* `af-nl.prob` - Tagger model for Afrikaans |
| 67 |
* `nl-af.prob` - Tagger model for Dutch |
| 68 |
* `modes.xml` - Translation modes |
| 69 |
|
| 70 |
For more information |
| 71 |
=============================================================================== |
| 72 |
|
| 73 |
* http://wiki.apertium.org/wiki/Installation |
| 74 |
* http://wiki.apertium.org/wiki/apertium-af-nl |
| 75 |
* http://wiki.apertium.org/wiki/Using_an_lttoolbox_dictionary |
| 76 |
|
| 77 |
Help and support |
| 78 |
=============================================================================== |
| 79 |
|
| 80 |
If you need help using this language pair or data, you can contact: |
| 81 |
|
| 82 |
* Mailing list: [email protected] |
| 83 |
* IRC: `#apertium` on `irc.freenode.net` |
| 84 |
|
| 85 |
See also the file AUTHORS included in this distribution. |