Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 54398 - aspell fails to spell
Summary: aspell fails to spell
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Spell checking utilities and dictionaries -- related bugs (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-19 02:22 UTC by Andreas Hofer
Modified: 2004-06-21 12:03 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Hofer 2004-06-19 02:22:20 UTC
app-text/aspell-0.50.5-r2 (used with app-dicts/aspell-en-0.51.1) is unable to spell the following (silly) text:

========================= teste.txt ================================
this is an english text
========================= teste.txt ================================

aspell complains about every single word:

$ echo $LANG
en
$ aspell check teste.txt

For example aspell does not recognize the first word "this" and offers the alternatives:
1) Als
2) Jes
3) AIDS
4) Joes
5) AI
6) ANSI
7) A's
8) ABS

Reproducible: 100%
Maybe I am doing something silly, but the same text checks ok on my FreeBSD box.

One more remark: Also tried german texts, same result, complains about every single word.
Comment 1 Peter Jensen 2004-06-19 06:26:06 UTC
It works for me, with the same versions of aspell and the English dictionary.
Only correction is 'english', which is spelled incorrectly ...
I've seen reports of "word-list-compress" (part of the install process) not working properly.
Could you post the output of 'ls -l /usr/lib/aspell/' to verify that the dictionaries were installed correctly.
Comment 2 Andreas Hofer 2004-06-20 00:34:47 UTC
Ok, this the output of ls -l /usr/lib/aspell/:-rw-r--r--  1 root root    75 16. Jun 23:04 american.alias-rw-r--r--  1 root root    85 16. Jun 23:04 american-w-accents.alias-rw-r--r--  1 root root    75 16. Jun 23:04 british.alias-rw-r--r--  1 root root    85 16. Jun 23:04 british-w-accents.alias-rw-r--r--  1 root root    75 16. Jun 23:04 canadian.alias-rw-r--r--  1 root root    85 16. Jun 23:04 canadian-w-accents.alias-rw-r--r--  1 root root    94 17. Jun 01:35 de_CH.multi-rw-r--r--  1 root root 20480 17. Jun 01:35 de_CH-only.rws-rw-r--r--  1 root root    94 17. Jun 01:35 de_DE.multi-rw-r--r--  1 root root 20480 17. Jun 01:35 de_DE-only.rws-rw-r--r--  1 root root    75 17. Jun 01:35 de.multi-rw-r--r--  1 root root 20480 17. Jun 01:35 de-only.rws-rw-r--r--  1 root root    75 17. Jun 01:35 deutsch.alias-rw-r--r--  1 root root   113 16. Jun 23:04 en_CA.multi-rw-r--r--  1 root root 20480 16. Jun 23:04 en_CA-only.rws-rw-r--r--  1 root root    94 16. Jun 23:04 en_CA-w-accents.multi-rw-r--r--  1 root root   113 16. Jun 23:04 en_GB.multi-rw-r--r--  1 root root 20480 16. Jun 23:04 en_GB-only.rws-rw-r--r--  1 root root    94 16. Jun 23:04 en_GB-w-accents.multi-rw-r--r--  1 root root    72 16. Jun 23:04 english.alias-rw-r--r--  1 root root   132 16. Jun 23:04 en.multi-rw-r--r--  1 root root 20480 16. Jun 23:04 en-only.rws-rw-r--r--  1 root root   113 16. Jun 23:04 en_US.multi-rw-r--r--  1 root root 20480 16. Jun 23:04 en_US-only.rws-rw-r--r--  1 root root    94 16. Jun 23:04 en_US-w-accents.multi-rw-r--r--  1 root root    78 16. Jun 22:30 fr-40.multi-rw-r--r--  1 root root 20480 16. Jun 22:30 fr-40-only.rws-rw-r--r--  1 root root    78 16. Jun 22:30 fr-60.multi-rw-r--r--  1 root root 20480 16. Jun 22:30 fr-60-only.rws-rw-r--r--  1 root root    78 16. Jun 22:30 fr-80.multi-rw-r--r--  1 root root 20480 16. Jun 22:30 fr-80-only.rws-rw-r--r--  1 root root    78 16. Jun 22:30 francais-40.alias-rw-r--r--  1 root root    78 16. Jun 22:30 francais-60.alias-rw-r--r--  1 root root    78 16. Jun 22:30 francais-80.alias-rw-r--r--  1 root root    75 16. Jun 22:30 francais.alias-rw-r--r--  1 root root    78 16. Jun 22:30 francais-lrg.alias-rw-r--r--  1 root root    78 16. Jun 22:30 francais-med.alias-rw-r--r--  1 root root    78 16. Jun 22:30 francais-sml.alias-rw-r--r--  1 root root    97 16. Jun 22:30 fr_CH-40.multi-rw-r--r--  1 root root   116 16. Jun 22:30 fr_CH-60.multi-rw-r--r--  1 root root   135 16. Jun 22:30 fr_CH-80.multi-rw-r--r--  1 root root    78 16. Jun 22:30 fr_CH-lrg.alias-rw-r--r--  1 root root    78 16. Jun 22:30 fr_CH-med.alias-rw-r--r--  1 root root    78 16. Jun 22:30 fr_CH.multi-rw-r--r--  1 root root 20480 16. Jun 22:30 fr_CH-only.rws-rw-r--r--  1 root root    78 16. Jun 22:30 fr_CH-sml.alias-rw-r--r--  1 root root    78 16. Jun 22:30 french-40.alias-rw-r--r--  1 root root    78 16. Jun 22:30 french-60.alias-rw-r--r--  1 root root    78 16. Jun 22:30 french-80.alias-rw-r--r--  1 root root    75 16. Jun 22:30 french.alias-rw-r--r--  1 root root    78 16. Jun 22:30 french-lrg.alias-rw-r--r--  1 root root    78 16. Jun 22:30 french-med.alias-rw-r--r--  1 root root    78 16. Jun 22:30 french-sml.alias-rw-r--r--  1 root root    78 16. Jun 22:30 fr_FR-40.multi-rw-r--r--  1 root root    97 16. Jun 22:30 fr_FR-60.multi-rw-r--r--  1 root root   116 16. Jun 22:30 fr_FR-80.multi-rw-r--r--  1 root root    78 16. Jun 22:30 fr_FR-lrg.alias-rw-r--r--  1 root root    78 16. Jun 22:30 fr_FR-med.alias-rw-r--r--  1 root root    78 16. Jun 22:30 fr_FR.multi-rw-r--r--  1 root root    78 16. Jun 22:30 fr_FR-sml.alias-rw-r--r--  1 root root    78 16. Jun 22:30 fr-lrg.alias-rw-r--r--  1 root root    78 16. Jun 22:30 fr-med.alias-rw-r--r--  1 root root    75 16. Jun 22:30 fr.multi-rw-r--r--  1 root root    78 16. Jun 22:30 fr-sml.alias-rw-r--r--  1 root root    75 17. Jun 01:35 german.alias-rw-r--r--  1 root root    78 16. Jun 22:30 suisse-40.alias-rw-r--r--  1 root root    78 16. Jun 22:30 suisse-60.alias-rw-r--r--  1 root root    78 16. Jun 22:30 suisse-80.alias-rw-r--r--  1 root root    75 16. Jun 22:30 suisse.alias-rw-r--r--  1 root root    78 16. Jun 22:30 suisse-lrg.alias-rw-r--r--  1 root root    78 16. Jun 22:30 suisse-med.alias-rw-r--r--  1 root root    78 16. Jun 22:30 suisse-sml.alias-rw-r--r--  1 root root    75 17. Jun 01:35 swiss.aliasSorry for it being a bit lengthy. Since I live in Belgium, I installed the dictionaries for english, german and french.Andreas
Comment 3 Peter Jensen 2004-06-20 06:42:29 UTC
Yuck!  No line breaks! :-)
OK, after aligning it again, I notice that all your .rws files (the one that should be compressed wordlists) are exactly 20 kb in size.
That's *obviously* wrong!
Try cleaning off both all the dictionaries and aspell itself.
Something is obviously broken.  I just tried emerging it all again on my system, and I still see no problems.
Comment 4 Andreas Hofer 2004-06-21 12:03:50 UTC
Ok, with the very latest aspell ebuild the .rws files get generated correctly. The previous ebuild of aspell seems to be broken in this respect. Fixed. Thank you for the hint.

Andreas