| 1 |
Danish and Norwegian |
| 2 |
|
| 3 |
apertium-dan-nor |
| 4 |
=============================================================================== |
| 5 |
|
| 6 |
This is an Apertium language pair for translating between Danish and |
| 7 |
Norwegian Nynorsk/Norwegian Bokmål. Currently supported is translation |
| 8 |
from both Norwegian variants to Danish, and from Danish to Nynorsk. |
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
Requirements |
| 13 |
=============================================================================== |
| 14 |
|
| 15 |
You will need the following software installed: |
| 16 |
|
| 17 |
* lttoolbox (>= 3.0.0) |
| 18 |
* apertium (>= 3.0.0) |
| 19 |
* VISL CG3 |
| 20 |
|
| 21 |
If this does not make any sense, we recommend you look at: apertium.org |
| 22 |
|
| 23 |
Compiling |
| 24 |
=============================================================================== |
| 25 |
|
| 26 |
Given the requirements being installed, you should be able to just run: |
| 27 |
|
| 28 |
$ ./configure |
| 29 |
$ make |
| 30 |
# make install |
| 31 |
|
| 32 |
You can use ./autogen.sh instead of ./configure you're compiling from |
| 33 |
SVN. 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 |
|
| 43 |
BOKMÅL -> DANISH |
| 44 |
|
| 45 |
$ echo "Hun så på faren sin" | apertium -d . nob-dan |
| 46 |
Hun så på sin far |
| 47 |
|
| 48 |
NYNORSK -> DANISH |
| 49 |
|
| 50 |
$ echo "jenta såg ikkje på faren" | apertium -d . nno-dan |
| 51 |
Pigen så ikke på faren |
| 52 |
|
| 53 |
NYNORSK -> DANISH |
| 54 |
|
| 55 |
$ echo "jenta såg ikkje på faren" | apertium -d . nno-dan |
| 56 |
Pigen så ikke på faren |
| 57 |
|
| 58 |
|
| 59 |
* https://wiki.apertium.org/wiki/Installation |
| 60 |
* https://wiki.apertium.org/wiki/Danish_and_Norwegian |
| 61 |
* https://wiki.apertium.org/wiki/Using_an_lttoolbox_dictionary |
| 62 |
|
| 63 |
Help and support |
| 64 |
=============================================================================== |
| 65 |
|
| 66 |
If you need help using this language pair or data, you can contact: |
| 67 |
|
| 68 |
* Mailing list: [email protected] |
| 69 |
* IRC: #apertium on irc.oftc.net |
| 70 |
|
| 71 |
See also the file AUTHORS included in this distribution. |