Opened 7 years ago

Last modified 6 years ago

#6104 new task

unifying spelling and dictionaries

Reported by: skierpage Owned by: jg
Priority: normal Milestone: Future Release
Component: distro Version: Build 650
Keywords: Cc: sayamindu
Blocked By: Blocking: #6808
Deployments affected: Action Needed: never set
Verified: no

Description

bug #5009 requests Hunspell "as it is the only free spellchecker that support features needed for a good Arabic spell checker".
Ideally OLPC would have one spelling engine, one extensible set of dictionaries, and a common dictionary for user-added words.

XULRunner thus Browse uses hunspell, I believe using dictionaries in /usr/lib/xulrunner-nnn/dictionaries. I think Abiword thus Write uses the enchant library which in OLPC is currently configured for aspell and myspell, not hunspell. I don't know what other XO apps use.

I think getting enchant and XULRunner to use the same hunspell dictionaries is "just configuration".

http://www.redhat.com/archives/rhl-devel-list/2006-September/msg00225.html is a useful thread on unifying.

Change History (5)

comment:1 Changed 7 years ago by nemeth

Source code of Enchant 1.3 contains Hunspell 1.4 under the name of "myspell". Really, it would be fine to use system wide spell checking with newer Hunspell version on XO, instead of using different Hunspell versions with parallel loading of the same dictionary (for example, single loading of en_US dictionary needs ~3-4 MB RAM). Last Hunspell supports gzip-like dictionary compression, saving MBs of disc space.

Fix the dictionary proliferation problem of Fedora:
http://fedoraproject.org/wiki/Releases/FeatureDictionary

comment:2 Changed 7 years ago by marco

  • Component changed from build-system to distro
  • Milestone changed from Never Assigned to Future Release
  • Owner changed from dgilmore to jg

comment:3 Changed 6 years ago by sayamindu

  • Action Needed set to never set
  • Cc sayamindu added

comment:4 Changed 6 years ago by khaled

Since we are now based in fedora 9, I think this should be easily done since fedora did almost all needed job unifying spelling dictionaries to hunspell.

comment:5 Changed 6 years ago by khaled

  • Blocking 6808 added
Note: See TracTickets for help on using tickets.