Apache OpenOffice (AOO) Bugzilla – Issue 11995
Spell checker not recognizing words
Last modified: 2015-04-07 09:37:56 UTC
When I spell check a document in Writer 644_m4, no words are recognized by the spell checker. Reinstalling 644_m4 from scratch did not help. Versions 1.0.2 and 644_m1 installed in the same system do not have the problem. Even with 644_m4, the spell checker sometimes will work correctly for a few paragraphs and then start giving the word selection dialog box for every word. The problem seems to be worse for plain text documents, but it also occurs in normal Writer documents. When AutoSpellcheck is enabled, marking seems to stop at the point in the document where the problem starts. Options are the defaults except AutoCheck is sometimes enabled. The problem still occurs when AutoCheck is off. The problem occurs with or without private dictionaries present. Language: English (USA) OS: Linux, Redhat 2.4.18-24.8.0 i686 glibc: 2.3.1 Dictionaries: /opt/OpenOffice.org644_m4/share/dict/ooo/ -r--r--r-- 1 root root 715 Feb 24 06:10 dictionary.lst -r-xr-xr-x 1 root root 2731 Feb 24 06:10 en_US.aff -r-xr-xr-x 1 root root 695724 Feb 24 06:10 en_US.dic -r--r--r-- 1 root root 6049 Feb 24 06:10 hyph_da.dic -r--r--r-- 1 root root 42600 Feb 24 06:10 hyph_de.dic -r--r--r-- 1 root root 79272 Feb 24 06:10 hyph_en.dic -r--r--r-- 1 root root 22071 Feb 24 06:10 hyph_ru.dic -r-xr-xr-x 1 root root 3344716 Feb 24 06:10 th_en_US.dat -r-xr-xr-x 1 root root 517545 Feb 24 06:10 th_en_US.idx Private dictionaries: /home/mchase/.OpenOffice.org644/user/wordbook/ -rw-rw-r-- 1 mchase mchase 217 Mar 3 04:58 Anime.dic -rw-rw-r-- 1 mchase mchase 11 Mar 3 04:47 standard.dic Anime.dic was originally created under 1.0.1 and copied to 1.0.2 and then to 644. No problems were noted under 1.0.2 or 644_m1.
A sample document that shows the problem is at http://home.ix.netcom.com/~mchase/mchase_resume.sxw It was originally a Word 6 document. It was last saved with Word XP as Word 6. The current version was last saved as a Writer document with OOo 1.0.1 (Win32).
Hi, I can NOT receate this with either the cws 0309 build or the cws 1.1 beta build. Can anyone tell what what differs from the 644_m4 build to either one of these trees? This should be working in all builds. Kevin
I'm getting some anecdotal confirmation in users@openoffice.org. Look for "Spell checker not recognizing words in 644_m4" I currently have OOo 1.02, 644_m1, and 644_m4 in my system. The only version that has shown the problem for me is 644_m4. I think the only thing I left off that might have some bearing is Java. I am using Sun's J2RE 1.4.0_02, but that is the same for 644_m1 and 644_m4. I'm not sure where to look to confirm that for 1.0.2.
Hi, The largest single issue related to this seems to be that the documents improted from other formats sometimes have incorrect language attributes for the text. Can you take you text document and highlight the entire thing and then use Format Character to forcibly set the language of the entire document to English(US) and then try spellchecking it again. If that does not work then there must be something seriously wrong with either the breakiteraotr that decides what words get sent to the spellchecker or in the conversion routines that convert from unicode to the encoding of the dictionary (and back for suggestions). Other than that I have no idea really why this is happening. I personally wish they would stop releasing builds for testing and qa that have no exact source ocde equivalent that we can see. Right now we have two trees both of which I tested and work: cws_srx644_ooo20030309 and cws_srx644_ooo11beta So I have no idea which of these (or neither) is like the m4 build. This is frustrating. Kevin
Hi, Good news of a sort. I can now actually recreate the problem with the 1.1Beta build and I will hopefully soon be able to narrow down at least what subsystem is the culprit. Kevin
I changed the language to English (Zimbabwe) then back to English (US). The error occurred earlier in the document than it did before. That might be more satisfying if the starting point didn't vary so much from one spell check run to another in the same document anyway. I am seeing problem even with plain ASCII text files. In fact, that's where I first noticed it. I also got the error when I copied and pasted the text into a 'New' document, even when pasting text only. I can definitely understand how frustrating trying to troubleshoot a problem without reliable source can be. It's lucky 1.1Beta is showing symptoms.
Hi, I think I narrowed this down. Are you game for a little experimentation. In the troublesome m4 build please try the following: cd OpenOffice.org644/program mv liblng644li.so liblng644li.so.orig cp PATHTOM1BUILD/OpenOffice.org644/program/liblng644li.so ./ Then see once you have replaced that lib with the working version whether everything starts working as it should again. Please let me know what you find. Thanks, Kevin
I get an error message as soon as I try spell checking with the 644_m1 liblng644li.so in 644_m4: "English (USA) is not supported by the spellcheck function or is not presently active." It then disables spell checking so it runs but doesn't find any errors. It also causes the Tools -> Options -> Writing Aids dialog box to leave the language modules and dictionaries boxes blank. Putting the file back restores the earlier behaviors. I'll be away from my computer for the next couple hours. Sorry I couldn't be more help at this stage.
Hi, Perhaps m1 is too far removed from m4. Either way, by updating spelldsp.cxx in linguistic/source to the newer version used in 1.1beta, all of the splling problems go away. So I think this bug has been nailed down and won't be in the next mielstone build at all. I just need confirmation from Hamburg and then approval to make the commits. Thanks for your bug report. Kevin
Hi, Fixes already committed so I am resolving this as fixed. Kevin
This task is fixed or worked in OOo 1.1 beta2.
closed ...