Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 73060

Summary: Norwegian spellchecker
Product: [Retired] Red Hat Raw Hide Reporter: Toralf <bugzilla>
Component: openoffice.orgAssignee: Dan Williams <dcbw>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-04-28 13:05:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
iaff2myaff.perl (Source2)
none
ispell-3.2.06.no.patch (Patch0)
none
ispell-norsk.myspell.patch (Patch1)
none
The spec
none
/usr/libexec/myspell/updateList - dictionary.lst update script
none
Bokmel dictionary
none
Nynorsk dictionary
none
Updated dictionaries
none
Updated SPEC file
none
Updated "Patch1"
none
Dictionary update (info only) none

Description Toralf 2002-08-30 09:50:01 UTC
Support for Norwegian in the spellchecer would be nice. In fact, I have an RPM
for this already, which is based on the ispell dictionaries at
http://www.uio.no/~runekl/dictionary.html; the .spec file will be attached shortly.

Note:
1) The spec will actually build ispell, since special patches are needed and
because Red Hat has no default ispell package.
2) Source 0 and 1 should be familiar to you, the rest will be attached.
3) I usally create a file dictionary_<lang code>_.lst for each dictionary and
generate global dictionary.lst based in info in these. I have a special script,
"updateList", for that purpose. It is included in a different package on my
setup, but will also be attached here.
4) The dictionaries are installed on directory /usr/share/myspell by default. I
have moved everything there and created the appropriate link for OOo dictionary
localtion to get a somewhat cleaner setup. The behaviour may, however, be
changed by redefining macro "dictdir".

Comment 1 Toralf 2002-08-30 10:23:14 UTC
Created attachment 73929 [details]
iaff2myaff.perl (Source2)

Comment 2 Toralf 2002-08-30 10:24:12 UTC
Created attachment 73930 [details]
ispell-3.2.06.no.patch (Patch0)

Comment 3 Toralf 2002-08-30 10:25:22 UTC
Created attachment 73931 [details]
ispell-norsk.myspell.patch (Patch1)

Comment 4 Toralf 2002-08-30 10:44:51 UTC
Created attachment 73936 [details]
The spec

Comment 5 Toralf 2002-08-30 10:46:19 UTC
Created attachment 73937 [details]
/usr/libexec/myspell/updateList - dictionary.lst update script

Comment 6 Toralf 2002-08-30 10:52:59 UTC
There is one quite serious problem with all this: The dictionary files are
actually quite hard to build; the process is *SLOW* and commands may crash
during the process without 'make' noticing it (hence the core dump test). This
has nothing to do with my "MySpell" additions, it is a problem with
ispell-norsk. Perhaps some of you lot know a way around it?

Comment 7 Jakub Jelinek 2002-08-30 13:41:23 UTC
Can you please instead attach a .zip file with n[bn]_NO.{aff,dic} and say a
README with credits and how you have made it (and also contact with it
Kevin Hendricks, see
http://whiteboard.openoffice.org/lingucomponent/download_dictionary.html
so that everyone can download it)?
I really don't want to include ispell source etc. just to build these files
(especially this late).
Thanks.

Comment 8 Toralf 2002-08-30 14:05:41 UTC
Hmmm. I just might (I've been in touch with Kevin Hendricks earlier), although I
really think RPMs should be based on the ultimate source, not generated files.

Apart from that, I'm a bit confused about the current state of spell checkers in
general. Does aspell have a maintaner now? And will aspell/ispell/myspell ever
be integrated?


Comment 9 Jakub Jelinek 2002-08-30 15:02:06 UTC
Well, as all the other spell dicts in OOo src.rpm are not generated and especially
when we don't ship ispell, this looks like too much trouble.
So, if you manage to attach here the .zip file today, it can make it into
OOo for this release, otherwise I'm afraid it will have to wait.

As for the state of spelling checkers, I really don't know, teg
might tell you more.

Comment 10 Toralf 2002-08-30 19:03:19 UTC
Created attachment 74005 [details]
Bokmel dictionary

Comment 11 Toralf 2002-08-30 19:04:38 UTC
Created attachment 74006 [details]
Nynorsk dictionary

Comment 12 Toralf 2002-08-30 19:10:58 UTC
There now. I actually rushed back to my office to be able to submit these, so I
hope they'll be included. Note that description for nb_NO.zip should read
"Bokmel dictionary" - apparently non-ASCII characters won't be accepted on
attachment description input (now, I'm wondering if they will be here...)

Comment 13 Toralf 2002-08-30 19:13:50 UTC
No. Same result. It's supposed to be "Bokmaal" written with an "aring", but
maybe  you gathered that already.

Comment 14 Toralf 2002-11-21 15:46:06 UTC
Created attachment 85909 [details]
Updated dictionaries

Comment 15 Toralf 2002-11-21 15:48:11 UTC
Some words, notably "i" and "e" (single-letter word "aring") are missing from
original dictionarie, possibly due to bugs in ispell-norsk. This new version is
hopefully better.

Comment 16 Toralf 2003-10-06 11:31:10 UTC
I have an updated version of the dictioaries that turns out to be too large to
attach here. It should soon arrive on OOo dictionary download page, however.

Something I've been wondering about: Is there any particular reasons why you
chose "no_NO", as opposed to "nb_NO", in the filename for when packaging the
"bookmaal" dictionary for your source rpm?

Comment 17 Toralf 2003-10-06 11:36:11 UTC
Created attachment 94945 [details]
Updated SPEC file

Note that I'm also still using RPM to generate the dictionaries. However, I'm
now viewing it solely as a convenent way of packaging all the sources and
commands needed to build the "final" dictionary sources, rather than a way of
installing the dictionaries. In other words, RPM will simply create no_NO.zip,
not install it on the target location.

Comment 18 Toralf 2003-10-06 11:38:50 UTC
Created attachment 94946 [details]
Updated "Patch1"

Comment 19 Toralf 2003-10-06 11:43:01 UTC
Created attachment 94947 [details]
Dictionary update (info only)

My notes on the updated dictionaries. The actual files should soon be
downlodable from

http://distribution.openoffice.org/cdrom/dictionaries/download_dictionary.html

Comment 20 Dan Williams 2004-02-05 03:11:45 UTC
generalizing this bug...

*** This bug has been marked as a duplicate of 108720 ***

Comment 21 Caolan McNamara 2005-04-28 13:05:49 UTC
close as duplicate