| 1 |
Norwegian Nynorsk and Norwegian Bokmål |
| 2 |
|
| 3 |
apertium-nno-nob |
| 4 |
=============================================================================== |
| 5 |
|
| 6 |
This is an Apertium language pair for translating between Norwegian |
| 7 |
Nynorsk and Norwegian Bokmål. What you can use this language package for: |
| 8 |
|
| 9 |
* Translating between Nynorsk and Bokmål, including variants: |
| 10 |
* Default nynorsk variant `nno` is "a-mål" with first person |
| 11 |
plural "me" |
| 12 |
* Nynorsk "e-mål" with first person plural "vi": `nno_e` |
| 13 |
* Nynorsk "e-mål" with first person plural "me": `nno_e_me` |
| 14 |
* Nynorsk "a-mål" with first person plural "vi": `nno_a_vi` |
| 15 |
* Morphological analysis of Nynorsk and Bokmål |
| 16 |
* Part-of-speech tagging of Nynorsk and Bokmål |
| 17 |
|
| 18 |
For information on the latter two points, see subheading "For more |
| 19 |
information" below. |
| 20 |
|
| 21 |
[](https://travis-ci.org/apertium/apertium-nno-nob) |
| 22 |
|
| 23 |
Requirements |
| 24 |
=============================================================================== |
| 25 |
|
| 26 |
You will need the following software installed: |
| 27 |
|
| 28 |
* lttoolbox (>= 3.5.0) |
| 29 |
* apertium (>= 3.6.0) |
| 30 |
* vislcg3 (>= 1.3.0) |
| 31 |
* apertium-lex-tools (>= 0.2.5) |
| 32 |
|
| 33 |
If this does not make any sense, we recommend you look at: apertium.org |
| 34 |
|
| 35 |
Compiling |
| 36 |
=============================================================================== |
| 37 |
|
| 38 |
Given the requirements being installed, you should be able to just run: |
| 39 |
|
| 40 |
```sh |
| 41 |
$ ./configure |
| 42 |
$ make |
| 43 |
$ sudo make install |
| 44 |
``` |
| 45 |
|
| 46 |
Use ./autogen.sh instead of ./configure if you're compiling from |
| 47 |
git. |
| 48 |
|
| 49 |
Testing |
| 50 |
=============================================================================== |
| 51 |
|
| 52 |
If you are in the source directory after running make, the following |
| 53 |
commands should work: |
| 54 |
|
| 55 |
```sh |
| 56 |
$ echo "Eg vil gå ein tur" | apertium -d . nno-nob |
| 57 |
Jeg vil gå en tur |
| 58 |
``` |
| 59 |
|
| 60 |
```sh |
| 61 |
$ echo "Jeg vil gå en tur" | apertium -d . nob-nno |
| 62 |
Eg vil gå ein tur |
| 63 |
``` |
| 64 |
|
| 65 |
After installing somewhere in `$PATH`, you should be able to do e.g. |
| 66 |
|
| 67 |
```sh |
| 68 |
$ echo "Jeg vil gå en tur" | apertium nob-nno |
| 69 |
Eg vil gå ein tur |
| 70 |
``` |
| 71 |
|
| 72 |
The following command runs tests which are on the Apertium wiki page: |
| 73 |
|
| 74 |
```sh |
| 75 |
$ ./regression-tests.sh |
| 76 |
``` |
| 77 |
|
| 78 |
Files and data |
| 79 |
=============================================================================== |
| 80 |
|
| 81 |
| File name | Description | |
| 82 |
| ---------------------------- | ------------------------------------------------------ | |
| 83 |
| apertium-nno-nob.nno-nob.dix | Bilingual dictionary (bidirectional) | |
| 84 |
| apertium-nno-nob.nno-nob.lrx | Lexical selection rules for translating into Bokmål | |
| 85 |
| apertium-nno-nob.nno-nob.t1x | Chunking transfer rules for translating into Bokmål | |
| 86 |
| apertium-nno-nob.nno-nob.t2x | Interchunk transfer rules for translating into Bokmål | |
| 87 |
| apertium-nno-nob.nno-nob.t3x | Postchunk transfer rules for translating into Bokmål | |
| 88 |
| apertium-nno-nob.nob-nno.lrx | Lexical selection rules for translating into Nynorsk | |
| 89 |
| apertium-nno-nob.nob-nno.t1x | Chunking transfer rules for translating into Nynorsk | |
| 90 |
| apertium-nno-nob.nob-nno.t2x | Interchunk transfer rules for translating into Nynorsk | |
| 91 |
| apertium-nno-nob.nob-nno.t3x | Postchunk transfer rules for translating into Nynorsk | |
| 92 |
| modes.xml | Translation modes | |
| 93 |
|
| 94 |
For more information |
| 95 |
=============================================================================== |
| 96 |
|
| 97 |
* https://wiki.apertium.org/wiki/Installation |
| 98 |
* https://wiki.apertium.org/wiki/apertium-nno-nob |
| 99 |
* https://wiki.apertium.org/wiki/Using_an_lttoolbox_dictionary |
| 100 |
* https://wiki.apertium.org/wiki/Constraint_Grammar |
| 101 |
* http://nn.wikipedia.org/wiki/Wikipedia:Wikiprosjekt_Maskinomsetjing_frå_bokmål |
| 102 |
(in Norwegian) |
| 103 |
|
| 104 |
Citing |
| 105 |
=============================================================================== |
| 106 |
|
| 107 |
Academic users of this package are requested to cite the following article: |
| 108 |
|
| 109 |
```BibTeX |
| 110 |
@inproceedings{unhammer2009rfr, |
| 111 |
address = {Alicante}, |
| 112 |
author = {Unhammer, Kevin Brubeck and Trosterud, Trond}, |
| 113 |
booktitle = {{Proceedings of the First International Workshop on Free/Open-Source Rule-Based Machine Translation}}, |
| 114 |
editor = {Pérez-Ortiz, Juan Antonio and Sánchez-Martínez, Felipe and Tyers, Francis M.}, |
| 115 |
pages = {35--42}, |
| 116 |
publisher = {Universidad de Alicante. Departamento de Lenguajes y Sistemas Informáticos}, |
| 117 |
title = {{Reuse of Free Resources in Machine Translation between Nynorsk and Bokm{\aa}l}}, |
| 118 |
url = {http://hdl.handle.net/10045/12025}, |
| 119 |
year = 2009 |
| 120 |
} |
| 121 |
``` |
| 122 |
|
| 123 |
To cite Apertium, please use the following: |
| 124 |
|
| 125 |
```BibTeX |
| 126 |
@article{apertium,year={2011}, |
| 127 |
issn={0922-6567}, |
| 128 |
journal={Machine Translation}, |
| 129 |
volume={25}, |
| 130 |
number={2}, |
| 131 |
doi={10.1007/s10590-011-9090-0}, |
| 132 |
title={Apertium: a free/open-source platform for rule-based machine translation}, |
| 133 |
url={http://dx.doi.org/10.1007/s10590-011-9090-0},publisher={Springer Netherlands}, |
| 134 |
keywords={Free/open-source machine translation; Rule-based machine translation; Apertium; Shallow transfer; Finite-state transducers}, |
| 135 |
author={Forcada, Mikel~L. and Ginestí-Rosell, Mireia and Nordfalk, Jacob and O’Regan, Jim and Ortiz-Rojas, Sergio and Pérez-Ortiz, Juan~Antonio and Sánchez-Martínez, Felipe and Ramírez-Sánchez, Gema and Tyers, Francis~M.}, |
| 136 |
pages={127-144}, |
| 137 |
language={English} |
| 138 |
} |
| 139 |
``` |
| 140 |
|
| 141 |
Help and support |
| 142 |
=============================================================================== |
| 143 |
|
| 144 |
If you need help using this language pair or data, you can contact: |
| 145 |
|
| 146 |
* Mailing list: [email protected] |
| 147 |
* IRC: #apertium on [irc.oftc.net](https://oftc.net/) |
| 148 |
|
| 149 |
See also the file AUTHORS included in this distribution. |