summaryrefslogtreecommitdiff
path: root/README
blob: 0131a9199500a3ffd4b2cc3c3141921d06168048 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
This is a GNU aspell dictionary for Nynorsk. The wordlist is adopted
from the Norwegian Language Bank, licenced under CC BY 4.0[1], and may
be downloaded from the National Library of Norway's website[2]. It has
been modified to remove words and phrases unsupported by aspell. The
file nn.wl is produced from the Language Bank's fullformer_2012.txt as
follows:

cat norsk_ordbank/fullformer_2012.txt | iconv -f ISO-8859-1 -t UTF-8\
| cut -f3

sed -E -i .bak -e '/ /d' -e '/^-/d' -e '/-$/d' -e '/[^a-zA-Z.-]/d' -e\
 '/[.-]{2,}/d' nn.wl

Additionally, words have been taken from the Ministry of Foreign
Affairs' EU term base[3].

The metadata files and configure script are adapted from Morten Bo
Johansen's aspell-da[4].

Made by Laura Orvokki Kursula in 2024. See the file LICENCE for
copyright information.

To compile:

./configure
make
make install (as root)

1: https://creativecommons.org/licenses/by/4.0/
2: https://www.nb.no/sprakbanken/ressurskatalog/oai-nb-no-sbr-41/
3: https://www.nb.no/sprakbanken/ressurskatalog/oai-nb-no-sbr-61/
4: https://github.com/mortenivar/aspell-da