Bug 477274 - Change aspell to hunspell
Summary: Change aspell to hunspell
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-translate
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Dmitry Butskoy
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 508781
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-12-19 23:36 UTC by Dwayne Bailey
Modified: 2009-07-13 16:41 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-07-13 16:41:45 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
how about this... (8.95 KB, patch)
2009-06-29 20:18 UTC, Caolan McNamara
no flags Details | Diff

Description Dwayne Bailey 2008-12-19 23:36:14 UTC
Description of problem:
Installation of gnome-translate requires aspell libraries.  With the grand unification of system spell checking around hunspell you would hope to not need aspell.

Version-Release number of selected component (if applicable):
0.99-12.fc9

How reproducible:
Install gnome-translate on a standard install without aspell

Steps to Reproduce:
1. yum remove aspell (if needed)
2. yum install gnome-translate
  
Actual results:
Installation asks for aspell as a dependency

Expected results:
No dependency on aspell

Additional info:
For the user the reliance on aspell is a pain since most applications are now using hunspell and any personal dictionaries used by the user are not used by aspell.

Comment 1 Dmitry Butskoy 2008-12-22 14:57:11 UTC
This change requires a patch. Could you provide such one?

Note, that upstream of libtranslate/gnome-translate is stalled since 2005 (but consinues to publish some patches). Hence it seems to be our task to do something on your proposal...

Comment 2 Dwayne Bailey 2008-12-26 08:55:20 UTC
Dmitry -> Don't hold your breath.  But I'll see how easy it is after my holiday.

Comment 3 Caolan McNamara 2009-06-29 20:18:04 UTC
Created attachment 349869 [details]
how about this...

The aspell stuff is used for the auto-detection of the language of input text by running it through a pile of spell-checkers to see which one gives the most correct words. 

Here's a port to enchant which should work (modulo a bug or two in enchant for some edge-bases which we can fix)

Plausibly we could also use libtextcat to do language guessing rather than spell-checking, but if the aspell implementation was ok, then the enchant one should be also acceptable.

Comment 4 Dmitry Butskoy 2009-07-01 16:19:04 UTC
Does enchant ready for us just now? (according to links in bug #508781 )

Comment 5 Caolan McNamara 2009-07-02 12:59:59 UTC
I've committed to (accepted upstream) patches to rawhide now.

You should be able to build and have it work even without those enchant patches to see if it works for you, they just fix some nasty edge-cases with misdetecting as Finnish if Filipino dictionaries are installed.

Comment 6 Dmitry Butskoy 2009-07-13 16:41:45 UTC
Changed in rawhide.

Please, test it: http://kojipkgs.fedoraproject.org/packages/gnome-translate/0.99/14.fc12/


Note You need to log in before you can comment on or make changes to this bug.