Re: Bug#385403: aspell-ru: hash file is not created

Agustin Martin <agustin.martin-a/[email protected]> Mon, 25 Sep 2006 18:21:54 +0200
Newsgroups gmane.linux.debian.devel.dictionary
Message-ID <[email protected]>
On Sun, Sep 24, 2006 at 10:37:27PM +0200, Agustin Martin wrote:
> On Sat, Sep 23, 2006 at 09:12:28PM +0300, Martin-=C9ric Racine wrote:
> > Hello Brian,
> >=20
> > It seems that a recent release of the Russian wordlist (source:
> > rus-ispell) contains words that aspell interprets as illegal, which m=
akes
> > the hash generation break, leaving users with an empty hash file (Bug
> > #385403) and making this an RC bug. Both words definitely exist in th=
e
> > 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,
>=20
> ---------------------
> 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=3DC zcat ru.cwl.gz | precat | aspell --dont-validate-affixes \
--local-data-dir=3D./  --lang=3Dru create master ./ru.rws

builds the hash. Keeping the original 'ru.cwl.gz' also works, but with th=
e
warning

  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.

--=20
Agustin