Skip to content

Commit 32b006a

Browse files
Pinkertoncitox1sc0
authored andcommitted
comitting updated dictionary files for Norwegian
Change-Id: I433404d18e935d69dd53fde8fed2cd5d010ac9ff Reviewed-on: https://gerrit.libreoffice.org/c/dictionaries/+/209468 Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org> Tested-by: Xisco Fauli <xiscofauli@libreoffice.org>
1 parent f2ff990 commit 32b006a

10 files changed

Lines changed: 1196762 additions & 515728 deletions

File tree

Dictionary_no.mk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ $(eval $(call gb_Dictionary_Dictionary,dict-no,dictionaries/no))
1111

1212
$(eval $(call gb_Dictionary_add_root_files,dict-no,\
1313
dictionaries/no/COPYING \
14+
dictionaries/no/README_NO.txt \
1415
dictionaries/no/hyph_nb_NO.dic \
1516
dictionaries/no/hyph_nn_NO.dic \
1617
dictionaries/no/nb_NO.aff \

no/META-INF/manifest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22
<!DOCTYPE manifest:manifest PUBLIC "-//OpenOffice.org//DTD Manifest 1.0//EN" "Manifest.dtd">
33
<manifest:manifest xmlns:manifest="http://openoffice.org/2001/manifest">
44
<manifest:file-entry manifest:media-type="application/vnd.sun.star.configuration-data" manifest:full-path="dictionaries.xcu"/>
5+
<manifest:file-entry manifest:media-type="application/vnd.sun.star.package-bundle-description" manifest:full-path="README_NO.txt"/>
56
</manifest:manifest>

no/README

Lines changed: 121 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,121 @@
1+
Norwegian (Bokmål and Nynorsk) spelling dictionaries for LibreOffice
2+
====================================================================
3+
4+
Version 3.0
5+
Maintainer: Lars Bungum
6+
7+
This package updates the bundled Norwegian dictionaries (dict-no).
8+
It replaces the Hunspell word lists for Norwegian Bokmål (nb-NO) and
9+
Norwegian Nynorsk (nn-NO). Affix files are the existing spell-norwegian
10+
affixes, recoded to UTF-8. Hyphenation patterns and thesauri are
11+
unchanged from the previous dict-no package.
12+
13+
14+
Spell-check word lists
15+
----------------------
16+
17+
nb_NO.dic 708615 words (Norwegian Bokmål)
18+
nn_NO.dic 540664 words (Norwegian Nynorsk)
19+
20+
Encoding: UTF-8 (SET UTF-8 in the corresponding .aff files).
21+
22+
23+
Sources and licences
24+
--------------------
25+
26+
1. Ordbanken (Nasjonalbiblioteket)
27+
28+
The morphological database Ordbanken was downloaded from
29+
Nasjonalbiblioteket / Språkbanken. Full-form lists were taken out
30+
of that download and used as the bulk of the spelling word lists.
31+
32+
Licence: CC BY 4.0 — free use with attribution to
33+
Nasjonalbiblioteket.
34+
35+
https://creativecommons.org/licenses/by/4.0/
36+
37+
38+
2. New headwords from the 2018–2024 revision of Bokmålsordboka and
39+
Nynorskordboka (CLARIN PUB +BY)
40+
41+
Additional lemmas for Bokmål and Nynorsk were taken from the
42+
nyordslister published after the revision of the two official
43+
dictionaries (2018–2024):
44+
45+
Bokmål:
46+
https://www.nb.no/sprakbanken/ressurskatalog/oai-repo-clarino-uib-no-11509-152/
47+
Persistent identifier: http://hdl.handle.net/11509/152
48+
oai:repo.clarino.uib.no:11509/152
49+
“Nyordsliste etter revisjonen av Bokmålsordboka (2018–2024)”
50+
51+
Nynorsk:
52+
https://www.nb.no/sprakbanken/ressurskatalog/oai-repo-clarino-uib-no-11509-151/
53+
Persistent identifier: http://hdl.handle.net/11509/151
54+
oai:repo.clarino.uib.no:11509/151
55+
“Nyordsliste etter revisjon av Nynorskordboka (2018–2024)”
56+
57+
Distributed by CLARINO Bergen.
58+
59+
Licence: CLARIN PUB +BY (attribution required)
60+
https://www.kielipankki.fi/wp-content/uploads/CLARIN_PUB_BY_en.html
61+
Persistent identifier: http://urn.fi/urn:nbn:fi:lb-2019071721
62+
63+
Acknowledgement: Kultur- og likestillingsdepartementet (KUD)
64+
65+
66+
3. «Årets ord» from Språkrådet
67+
68+
Words of the year and related new-word material were collected
69+
manually from Språkrådet’s public web pages and added to the
70+
merged lists.
71+
72+
73+
4. Full-form generation
74+
75+
Full-form lists for the new lemmas were created according to
76+
Ordbanken’s own code / inflection machinery, so that inflected
77+
forms follow the same patterns as the rest of the dictionary.
78+
79+
80+
Affix files, hyphenation, and thesaurus
81+
---------------------------------------
82+
83+
nb_NO.aff, nn_NO.aff, hyphenation patterns, and thesauri originate
84+
from the spell-norwegian project and the previous LibreOffice dict-no
85+
package.
86+
87+
Copyright: The spell-norwegian project
88+
https://alioth.debian.org/projects/spell-norwegian/
89+
Licence: GNU GPL version 2 (see COPYING)
90+
91+
The affix files in this update differ from upstream only by encoding:
92+
SET ISO8859-1 was changed to SET UTF-8, and the files were recoded
93+
from ISO-8859-1 to UTF-8 so they match the UTF-8 .dic files.
94+
95+
96+
File layout (matches dictionaries/no in dictionaries.git)
97+
---------------------------------------------------------
98+
99+
nb_NO.aff / nb_NO.dic Hunspell, locale nb-NO
100+
nn_NO.aff / nn_NO.dic Hunspell, locale nn-NO
101+
hyph_nb_NO.dic hyphenation, locale nb-NO
102+
hyph_nn_NO.dic hyphenation, locale nn-NO
103+
th_nb_NO_v2.dat thesaurus, locale nb-NO
104+
th_nn_NO_v2.dat thesaurus, locale nn-NO
105+
dictionaries.xcu Linguistic configuration
106+
description.xml extension identifier
107+
org.no.openoffice.dictionary.no-NO
108+
109+
110+
Attribution summary
111+
-------------------
112+
113+
Nasjonalbiblioteket — Ordbanken (CC BY 4.0)
114+
CLARINO Bergen / Språkbanken — nyordslister 11509/152 and 11509/151
115+
(CLARIN PUB +BY)
116+
Kultur- og likestillingsdepartementet (KUD) — acknowledgement for
117+
the dictionary revision resources
118+
Språkrådet — «årets ord» (manually collected from public pages)
119+
The spell-norwegian project — affix files, hyphenation, thesaurus
120+
(GNU GPL v2)
121+
Lars Bungum — merging, full-form generation, UTF-8 packaging

no/README_NO.txt

Lines changed: 121 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,121 @@
1+
Norwegian (Bokmål and Nynorsk) spelling dictionaries for LibreOffice
2+
====================================================================
3+
4+
Version 3.0
5+
Maintainer: Lars Bungum
6+
7+
This package updates the bundled Norwegian dictionaries (dict-no).
8+
It replaces the Hunspell word lists for Norwegian Bokmål (nb-NO) and
9+
Norwegian Nynorsk (nn-NO). Affix files are the existing spell-norwegian
10+
affixes, recoded to UTF-8. Hyphenation patterns and thesauri are
11+
unchanged from the previous dict-no package.
12+
13+
14+
Spell-check word lists
15+
----------------------
16+
17+
nb_NO.dic 708615 words (Norwegian Bokmål)
18+
nn_NO.dic 540664 words (Norwegian Nynorsk)
19+
20+
Encoding: UTF-8 (SET UTF-8 in the corresponding .aff files).
21+
22+
23+
Sources and licences
24+
--------------------
25+
26+
1. Ordbanken (Nasjonalbiblioteket)
27+
28+
The morphological database Ordbanken was downloaded from
29+
Nasjonalbiblioteket / Språkbanken. Full-form lists were taken out
30+
of that download and used as the bulk of the spelling word lists.
31+
32+
Licence: CC BY 4.0 — free use with attribution to
33+
Nasjonalbiblioteket.
34+
35+
https://creativecommons.org/licenses/by/4.0/
36+
37+
38+
2. New headwords from the 2018–2024 revision of Bokmålsordboka and
39+
Nynorskordboka (CLARIN PUB +BY)
40+
41+
Additional lemmas for Bokmål and Nynorsk were taken from the
42+
nyordslister published after the revision of the two official
43+
dictionaries (2018–2024):
44+
45+
Bokmål:
46+
https://www.nb.no/sprakbanken/ressurskatalog/oai-repo-clarino-uib-no-11509-152/
47+
Persistent identifier: http://hdl.handle.net/11509/152
48+
oai:repo.clarino.uib.no:11509/152
49+
“Nyordsliste etter revisjonen av Bokmålsordboka (2018–2024)”
50+
51+
Nynorsk:
52+
https://www.nb.no/sprakbanken/ressurskatalog/oai-repo-clarino-uib-no-11509-151/
53+
Persistent identifier: http://hdl.handle.net/11509/151
54+
oai:repo.clarino.uib.no:11509/151
55+
“Nyordsliste etter revisjon av Nynorskordboka (2018–2024)”
56+
57+
Distributed by CLARINO Bergen.
58+
59+
Licence: CLARIN PUB +BY (attribution required)
60+
https://www.kielipankki.fi/wp-content/uploads/CLARIN_PUB_BY_en.html
61+
Persistent identifier: http://urn.fi/urn:nbn:fi:lb-2019071721
62+
63+
Acknowledgement: Kultur- og likestillingsdepartementet (KUD)
64+
65+
66+
3. «Årets ord» from Språkrådet
67+
68+
Words of the year and related new-word material were collected
69+
manually from Språkrådet’s public web pages and added to the
70+
merged lists.
71+
72+
73+
4. Full-form generation
74+
75+
Full-form lists for the new lemmas were created according to
76+
Ordbanken’s own code / inflection machinery, so that inflected
77+
forms follow the same patterns as the rest of the dictionary.
78+
79+
80+
Affix files, hyphenation, and thesaurus
81+
---------------------------------------
82+
83+
nb_NO.aff, nn_NO.aff, hyphenation patterns, and thesauri originate
84+
from the spell-norwegian project and the previous LibreOffice dict-no
85+
package.
86+
87+
Copyright: The spell-norwegian project
88+
https://alioth.debian.org/projects/spell-norwegian/
89+
Licence: GNU GPL version 2 (see COPYING)
90+
91+
The affix files in this update differ from upstream only by encoding:
92+
SET ISO8859-1 was changed to SET UTF-8, and the files were recoded
93+
from ISO-8859-1 to UTF-8 so they match the UTF-8 .dic files.
94+
95+
96+
File layout (matches dictionaries/no in dictionaries.git)
97+
---------------------------------------------------------
98+
99+
nb_NO.aff / nb_NO.dic Hunspell, locale nb-NO
100+
nn_NO.aff / nn_NO.dic Hunspell, locale nn-NO
101+
hyph_nb_NO.dic hyphenation, locale nb-NO
102+
hyph_nn_NO.dic hyphenation, locale nn-NO
103+
th_nb_NO_v2.dat thesaurus, locale nb-NO
104+
th_nn_NO_v2.dat thesaurus, locale nn-NO
105+
dictionaries.xcu Linguistic configuration
106+
description.xml extension identifier
107+
org.no.openoffice.dictionary.no-NO
108+
109+
110+
Attribution summary
111+
-------------------
112+
113+
Nasjonalbiblioteket — Ordbanken (CC BY 4.0)
114+
CLARINO Bergen / Språkbanken — nyordslister 11509/152 and 11509/151
115+
(CLARIN PUB +BY)
116+
Kultur- og likestillingsdepartementet (KUD) — acknowledgement for
117+
the dictionary revision resources
118+
Språkrådet — «årets ord» (manually collected from public pages)
119+
The spell-norwegian project — affix files, hyphenation, thesaurus
120+
(GNU GPL v2)
121+
Lars Bungum — merging, full-form generation, UTF-8 packaging

no/README_hyph_NO.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Myspell hyphenation
22
-------------------
33

44
Language: Norwegian Nynorsk (nn NO)
5-
Langauge: Norwegian Bokm�l (nb NO)
5+
Language: Norwegian Bokmål (nb NO)
66
Origin: Generated from the spell-norwegian source v2.0.7
77
License: GNU General Public license
88
Author: The spell-norwegian project, <URL:https://alioth.debian.org/projects/spell-norwegian/>

no/description.xml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,24 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<description xmlns="http://openoffice.org/extensions/description/2006" xmlns:d="http://openoffice.org/extensions/description/2006" xmlns:xlink="http://www.w3.org/1999/xlink">
3-
<version value="2.2"/>
2+
<description xmlns="http://openoffice.org/extensions/description/2006"
3+
xmlns:d="http://openoffice.org/extensions/description/2006"
4+
xmlns:xlink="http://www.w3.org/1999/xlink">
5+
<version value="3.0"/>
46
<identifier value="org.no.openoffice.dictionary.no-NO"/>
57
<display-name>
68
<name lang="en-US">Norwegian (Nynorsk and Bokmål) spelling dictionary, hyphenation rules, and thesaurus</name>
9+
<name lang="nb">Norsk (nynorsk og bokmål) staveordbok, orddeling og tesaurus</name>
10+
<name lang="nn">Norsk (nynorsk og bokmål) staveordbok, orddeling og tesaurus</name>
711
</display-name>
812
<platform value="all"/>
913
<dependencies>
1014
<OpenOffice.org-minimal-version value="3.0" d:name="OpenOffice.org 3.0"/>
1115
</dependencies>
1216
<publisher>
13-
<name xlink:href="http://no.speling.org">no.speling.org</name>
17+
<name lang="en-US">Lars Bungum</name>
18+
<name lang="nb">Lars Bungum</name>
19+
<name lang="nn">Lars Bungum</name>
1420
</publisher>
21+
<extension-description>
22+
<src xlink:href="README_NO.txt" lang="en-US"/>
23+
</extension-description>
1524
</description>

0 commit comments

Comments
 (0)