Bug 590700 - No dictionaries?
No dictionaries?
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: aspell (Show other bugs)
All Linux
low Severity medium
: rc
: ---
Assigned To: Ivana Varekova
: 713220 724017 (view as bug list)
Depends On:
  Show dependency treegraph
Reported: 2010-05-10 10:08 EDT by Paul Howarth
Modified: 2015-05-20 09:43 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2010-05-11 05:50:31 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Paul Howarth 2010-05-10 10:08:35 EDT
EL-6 beta includes aspell but not the separate language packages with the dictionaries. Is aspell any use without the dictionaries? Without even aspell-en, I'll need to build that myself to build any package that (for instance) uses aspell in its test suite.
Comment 2 RHEL Product and Program Management 2010-05-10 11:40:43 EDT
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release.  Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release.  This request is not yet committed for
Comment 3 Ivana Varekova 2010-05-11 05:50:31 EDT
aspell is the build requirance for several packages.
Comment 4 Paul Howarth 2010-05-11 05:59:58 EDT
I appreciate that but my question is: what use is the aspell support in these packages if there are no dictionaries to check against?
Comment 5 Bill Nottingham 2010-05-11 12:32:19 EDT
aspell is only included as a build requirement for hunspell dictionaries. All apps in RHEL use hunspell as their supported spell checker; it's recommended that other apps do the same wherever possible.
Comment 6 Paul Howarth 2010-06-24 09:57:39 EDT
One of my packages in EPEL is perl-Text-SpellChecker, which is built on perl-Text-Aspell, the perl binding for aspell. It needs the English dictionary for its test suite, as do most of the perl modules that use it.

I wondered if it would be possible to patch it to use hunspell instead and the obvious way to do that would have been to use Text::Hunspell (the official perl binding of hunspell, http://search.cpan.org/~eleonora/text_hunspell_1.3/) instead of Text::Aspell. Unfortunately Text::Hunspell doesn't actually work, segfaulting as soon as you actually try to use it (https://rt.cpan.org/Public/Bug/Display.html?id=39824). I contacted the maintainer of Text::Hunspell, who said:

  "I spent 3 full days with that problem, and the best result
   I got is the crash you write about."

  "I have no idea, how to get that fixed; I assume, some modification
   in hunspell caused the perl interface to break."

  "I am really sorry for this."

  "Best, eleonora"

The simplest option would seem to me to be to add aspell-en in EPEL-6 to resolve this. I am prepared to look after this if the Fedora maintainer doesn't want it.

Or does anyone have a better suggestion?
Comment 7 Paul Howarth 2010-09-22 17:05:36 EDT
Update: perl-Text-Hunspell has a new maintainer who has made it work with recent releases. It's packaged and built in Fedora, and branched for EPEL-6.

Also, perl-Text-SpellChecker now has support for a hunspell backend (via perl-Text-Hunspell) as an alternative to aspell.

Only sticking point ... RHEL-6 Server Beta 2 refresh seems to contain hunspell dictionaries for just about every language on the planet - except English(!), which is only available in RHEL-6 Workstation at the moment. Is this intended? Surely not? I need this package to build (and use) perl-Text-Hunspell in EPEL-6 and of course users of OpenOffice.org on RHEL-6 Server will most likely want it too...

Should I open a separate bug for this?
Comment 8 Ivana Varekova 2010-09-23 03:40:06 EDT
Please create a new bug report to this issue.
Comment 9 Paul Howarth 2010-09-23 04:07:31 EDT
Raised as Bug #636763, thanks.
Comment 10 Ivana Varekova 2011-06-14 23:38:29 EDT
*** Bug 713220 has been marked as a duplicate of this bug. ***
Comment 11 Jay Berkenbilt 2011-06-15 11:13:35 EDT
I'd also point out that emacs's flyspell-mode uses aspell by default, though it can be configured to use hunspell.
Comment 12 Bill Nottingham 2011-06-15 14:48:09 EDT
Jay - can you file that as a new bug against emacs? We should just configure it to use hunspell out of the box.
Comment 13 Jay Berkenbilt 2011-06-15 17:02:14 EDT
Done -- see bug 713600.
Comment 14 Peter Schiffer 2011-11-02 09:26:29 EDT
*** Bug 724017 has been marked as a duplicate of this bug. ***

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