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".
Created attachment 73929 [details] iaff2myaff.perl (Source2)
Created attachment 73930 [details] ispell-3.2.06.no.patch (Patch0)
Created attachment 73931 [details] ispell-norsk.myspell.patch (Patch1)
Created attachment 73936 [details] The spec
Created attachment 73937 [details] /usr/libexec/myspell/updateList - dictionary.lst update script
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?
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.
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?
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.
Created attachment 74005 [details] Bokmel dictionary
Created attachment 74006 [details] Nynorsk dictionary
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...)
No. Same result. It's supposed to be "Bokmaal" written with an "aring", but maybe you gathered that already.
Created attachment 85909 [details] Updated dictionaries
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.
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?
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.
Created attachment 94946 [details] Updated "Patch1"
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
generalizing this bug... *** This bug has been marked as a duplicate of 108720 ***
close as duplicate