summaryrefslogtreecommitdiff
path: root/README
blob: d147b6dd889a7862a36962d7db5e3d8cc6770989 (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
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

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

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://github.com/mortenivar/aspell-da