[Dict-common-dev] Re: Bug#385403: aspell-ru: hash file is not
agustin.martin at hispalinux.es
Mon Sep 25 16:21:54 UTC 2006
On Sun, Sep 24, 2006 at 10:37:27PM +0200, Agustin Martin wrote:
> On Sat, Sep 23, 2006 at 09:12:28PM +0300, Martin-Éric Racine wrote:
> > Hello Brian,
> > It seems that a recent release of the Russian wordlist (source:
> > rus-ispell) contains words that aspell interprets as illegal, which makes
> > the hash generation break, leaving users with an empty hash file (Bug
> > #385403) and making this an RC bug. Both words definitely exist in the
> > Russian language, so I am unsure how to solve this issue. Any ideas?
> I have blindly modified that line to something possible and I then find a
> different set of errors and warnings,
> Warning: The word "???" is invalid. The total length is larger than 240
> characters. Skipping word.
> Error: The word "?????????" is invalid. The total word length, with
> soundslike data, is larger than 240 characters.
No problem, I was using stuff from a previous message in the bug thread
without noticing that precat was missing there. After putting all
aspell-ru stuff in a dir and hacking the aff file as described in my
previous mail and the wordlist to remove "138420",
$ LANG=C zcat ru.cwl.gz | precat | aspell --dont-validate-affixes \
--local-data-dir=./ --lang=ru create master ./ru.rws
builds the hash. Keeping the original 'ru.cwl.gz' also works, but with the
Warning: The word "138420" is invalid. The character '1' (U+31) may not
appear at the beginning of a word. Skipping word.
whose fix is described in #386577.
More information about the Dict-common-dev