mNo edit summary |
mNo edit summary |
||
(135 intermediate revisions by 3 users not shown) | |||
Line 48: | Line 48: | ||
# Make tomboy/pidgin use it, i.e. gtkspell. Same story as gnome-spell - [https://bugzilla.redhat.com/show_bug.cgi?id=245888 rhbz#245888] '''complete''' | # Make tomboy/pidgin use it, i.e. gtkspell. Same story as gnome-spell - [https://bugzilla.redhat.com/show_bug.cgi?id=245888 rhbz#245888] '''complete''' | ||
# Make Firefox (and other gecko apps) use it - [https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=218762 rhbz#218762] '''complete''', [https://bugzilla.mozilla.org/show_bug.cgi?id=319778 upstream state is now ''resolved''] | # Make Firefox (and other gecko apps) use it - [https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=218762 rhbz#218762] '''complete''', [https://bugzilla.mozilla.org/show_bug.cgi?id=319778 upstream state is now ''resolved''] | ||
# Make KDE use enchant and/or hunspell - '''complete''' - KDE 4 already defaults to enchant in Sonnet. (For | # Make KDE use enchant and/or hunspell - '''complete''' - KDE 4 already defaults to enchant in Sonnet. (For K3Spell, see "legacy KSpell" below.) The aspell backend was dropped entirely in Rawhide. For kdelibs3: | ||
#* The legacy KSpell uses command-line spellcheckers. [[User:Kkofler|Kevin Kofler]] wrote a [http://bugs.kde.org/show_bug.cgi?id=154561 patch] to support hunspell, and kde-settings in Rawhide was changed to make it the default. | #* The legacy KSpell uses command-line spellcheckers. [[User:Kkofler|Kevin Kofler]] wrote a [http://bugs.kde.org/show_bug.cgi?id=154561 patch] to support hunspell, and kde-settings in Rawhide was changed to make it the default. | ||
#* The newer KSpell2 API is plugin-based and uses libraries. It is what KDE 4's Sonnet is based on. [[User:Kkofler|Kevin Kofler]] [http://bugs.kde.org/show_bug.cgi?id=154560 backported] Sonnet's enchant backend. The aspell and ispell backends were dropped in Rawhide. | #* The newer KSpell2 API is plugin-based and uses libraries. It is what KDE 4's Sonnet is based on. [[User:Kkofler|Kevin Kofler]] [http://bugs.kde.org/show_bug.cgi?id=154560 backported] Sonnet's enchant backend. The aspell and ispell backends were dropped in Rawhide. | ||
Line 63: | Line 63: | ||
# Make vim use hunspell - [https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=219777 rhbz#219777] '''patch available''', not necessary if vim continues to not use any spell-checking, but preferred over introducing built-in vim spellchecker which has yet another format which hunspell dicts are converted to for use | # Make vim use hunspell - [https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=219777 rhbz#219777] '''patch available''', not necessary if vim continues to not use any spell-checking, but preferred over introducing built-in vim spellchecker which has yet another format which hunspell dicts are converted to for use | ||
== Dictionaries == | == Dictionaries == | ||
See table at [[OpenOffice.org/LinguisticComponents]] | |||
== User experience == | == User experience == | ||
Line 185: | Line 86: | ||
Note that JDS is going down this route [http://mail.opensolaris.org/pipermail/jds-review/2007-February/001383.html as well] | Note that JDS is going down this route [http://mail.opensolaris.org/pipermail/jds-review/2007-February/001383.html as well] | ||
The OpenOffice.org [http://wiki.services.openoffice.org/wiki/Dictionaries hunspell dictionary list] of working dictionaries | |||
The mozilla [https://wiki.mozilla.org/L10n:Dictionaries hunspell dictionary list] of tri-licensed dictionaries | |||
The firefox [https://addons.mozilla.org/en-US/firefox/browse/type:3 extension list] of available language extensions | |||
How to [http://translate.sourceforge.net/wiki/guide/spelling_checkers build a dictionary] | |||
How to [http://lingucomponent.openoffice.org/affix.readme convert an ispell affix] to hunspell .aff | |||
[http://www.loc.gov/standards/iso639-2/php/code_list.php Language Codes] | |||
A somewhat related [[SIGs/Fonts/Dev/LanguageAwarenessProblem| issue]] . | A somewhat related [[SIGs/Fonts/Dev/LanguageAwarenessProblem| issue]] . | ||
Line 191: | Line 104: | ||
php5 and bluefish still link to aspell at least - kmaraas. (It's not practical for me to port everything, just the core default installed components and the default spell-checking solutions for the main desktop environments and applications - caolanm) | php5 and bluefish still link to aspell at least - kmaraas. (It's not practical for me to port everything, just the core default installed components and the default spell-checking solutions for the main desktop environments and applications - caolanm) | ||
Ubuntu is now [https://wiki.ubuntu.com/ConsolidateSpellingLibs following] the Fedora practice as well. | |||
---- | ---- | ||
[[Category:AcceptedFedora9]] | [[Category:AcceptedFedora9]] |
Latest revision as of 15:20, 11 December 2008
Fix the dictionary proliferation problem
Summary
Fix the proliferation of dictionaries in the OS.
Owners
Current status
- Targeted release: Fedora 9
- Last modified: 2008-04-07
- Percentage of completion: 100%
- This is complete, all major applications and default GNOME/KDE spell checking now goes through hunspell. All that remains is to package dictionaries for the lesser used languages where there hasn't already been a sufficiently vibrant fedora-using language community that has taken up packaging a dictionary for their language.
Usage cases/rationale
We have separate dictionaries for each language for OpenOffice.org, Firefox, Thunderbird, and aspell (which gnome and KDE use). This is dumb.
Benefit to Fedora
We get code reuse, a smaller distribution, and a decreased memory footprint.
Scope
Requires changing the OpenOffice.org, thunderbird, firefox, and dictionary packages.
Test Plan
Test spell checking in all apps.
Dependencies
None.
Details
- Split out hunspell from Open
Office.org - rhbz#214764 complete
- Make Open
Office.org use it - rhbz#214764 complete
- Split out the dictionaries into separate packages - rhbz#218769 (english) complete
- Make Open
Office.org use system dictionaries - complete
- Make gedit/xchat use it, i.e. enchant. enchant by default already generally prefers using hunspell over aspell, just needs to be told where the dictionaries are - complete
- Make evolution use it, i.e. gnome-spell. gnome-spell can be patched to use enchant to achieve this - rhbz#426347 complete
- Make tomboy/pidgin use it, i.e. gtkspell. Same story as gnome-spell - rhbz#245888 complete
- Make Firefox (and other gecko apps) use it - rhbz#218762 complete, upstream state is now resolved
- Make KDE use enchant and/or hunspell - complete - KDE 4 already defaults to enchant in Sonnet. (For K3Spell, see "legacy KSpell" below.) The aspell backend was dropped entirely in Rawhide. For kdelibs3:
- The legacy KSpell uses command-line spellcheckers. Kevin Kofler wrote a patch to support hunspell, and kde-settings in Rawhide was changed to make it the default.
- The newer KSpell2 API is plugin-based and uses libraries. It is what KDE 4's Sonnet is based on. Kevin Kofler backported Sonnet's enchant backend. The aspell and ispell backends were dropped in Rawhide.
- See the fedora-devel-list message.
- Remove copy of hunspell from enchant - rhbz#426402 complete
- Remove copy of hunspell from xulrunner complete
- Split enchant to have a separate enchant-aspell rpm to enable optionally removing the aspell support - rhbz#426402 complete
- Prefer hunspell over aspell as the default for install in comps. See table below for mis-match in language support. rhbz#439037 complete
- Repackage/replace the aspell dictionaries with hunspell dictionaries 80% see table below for language support
Optional
- Write an aspell compatibility layer so aspell apps can use the same dictionaries no volunteer -> deferred, is this neccessary at all ? All major desktop apps work now out of the box
- Make vim use hunspell - rhbz#219777 patch available, not necessary if vim continues to not use any spell-checking, but preferred over introducing built-in vim spellchecker which has yet another format which hunspell dicts are converted to for use
Dictionaries
See table at OpenOffice.org/LinguisticComponents
User experience
Should not affect user experience.
Contingency plan
Continue to ship older dictionaries.
Documentation
Release Notes
There is a new default spell checking back-end, hunspell
, for both the GNOME and KDE desktops, as well as applications such as OpenOffice.org, Firefox, and other XULRunner-based applications. This common back-end includes a set of shared, multi-lingual dictionaries for use with hunspell
. This feature uses a single set of common dictionaries regardless of the application, which gives consistent suggestions for misspelled words and uses less diskpace by eliminating duplicate dictionaries.
Comments
Note that JDS is going down this route as well
The OpenOffice.org hunspell dictionary list of working dictionaries
The mozilla hunspell dictionary list of tri-licensed dictionaries
The firefox extension list of available language extensions
How to build a dictionary
How to convert an ispell affix to hunspell .aff
A somewhat related issue .
Will help on adding Indic hunspell dictionaries in Fedora - paragn.
php5 and bluefish still link to aspell at least - kmaraas. (It's not practical for me to port everything, just the core default installed components and the default spell-checking solutions for the main desktop environments and applications - caolanm)
Ubuntu is now following the Fedora practice as well.