Public bug reported:

Binary package hint: openoffice.org

1) Using Ubuntu Hardy Heron 8.04.
2) Using OpenOffice.org 1:2.4.1-1ubuntu2.1.
3) Expecting correctly spelled hyphenated words to not be considered invalid by 
spell checker and expecting suggested replacement of incorrectly spelled 
hyphenated words to be considered valid by spell checker after replacement.
4) Observed behavior : part of correctly hyphenated word is underlined as 
wrongly spelled, spell check suggest the same correctly hyphenated word as 
replacement. When replacing incorrectly spelled hyphenated word with correctly 
spelled replacement, spell check underlines part of the replaced hyphenated 
word as wrongly spelled.

Using french(belgian) as default language.
Case 1 : When typing the correctly spelled french word 'sous-jacentes', 
'jacentes' is marked as wrong spelling by spell checker. The auto correct 
contextual menu (or spell check window) suggest 'sous-jacentes' as a 
replacement. Replacing with that gives 'sous-sous-jacentes' with 'jacentes' 
being marked again.
Case 2 : When typing the incorrectly spelled french word 'jacentes', spell 
check marks it as wrongly spelled (this is correct), replacing with 
'sous-jacentes' as suggested by auto correct marks 'jacentes' in the hyphenated 
replacement word as wrongly spelled again.
Case 3 : Replacing 'jacentes' in 'sous-jacentes' with suggested replacement 
'adjacentes' makes up 'sous-adjacentes' which doesn't exists in french but is 
considered correctly spelled by spellchecker. I deduce the spellchecker check 
each part of an hyphenated word individually.

This incorrect behavior is not observed with us-english, probably due to
the fact that most (if not all) of english hyphenated words are composed
from full words. French, on the other hand, has hyphenated words with
parts that mean nothing by themselves (or ancien words that are no
longer used.)

Conclusion : When non valid parts are found in a hyphenated word,
spellcheck should also check the hyphenated word as a whole before
marking the invalid part as incorrect.

ProblemType: Bug
Architecture: i386
Date: Sun Sep 20 23:42:55 2009
DistroRelease: Ubuntu 8.04
NonfreeKernelModules: fglrx
Package: openoffice.org-core 1:2.4.1-1ubuntu2.1
PackageArchitecture: i386
ProcEnviron:
 
PATH=/usr/lib/openoffice/program:/home/username/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=fr_BE.UTF-8
 SHELL=/bin/bash
SourcePackage: openoffice.org
Uname: Linux 2.6.24-24-generic i686

** Affects: openoffice.org (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug

-- 
spell check behave incorrectly with hyphenated words
https://bugs.launchpad.net/bugs/433702
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to