Hi Eli and all, first note that after playing a little with https://github.com/eranroz/HspellPy , the mageia hspell package and with https://metacpan.org/pod/distribution/Inline-Python/Python.pod , I was able to overcome the issue in my code. Thanks for the motivation.
On Sun, Jun 2, 2019 at 5:53 PM Eli Zaretskii <e...@gnu.org> wrote: > > From: Shlomi Fish <shlo...@gmail.com> > > Date: Sat, 1 Jun 2019 22:56:28 +0300 > > Cc: Linux-IL <linux-il@cs.huji.ac.il>, "Nadav Har'El" <nyha...@gmail.com>, > > > dan...@users.sourceforge.net > > > > I use the same dictionary downloaded years ago from the Ivrix > > project. Hunspell version is 1.3.2. > > > > Ah, I have hunspell-1.7.0 and hspell 1.4. > > I don't think it should make any difference. > > Right. > > Moreover, how are you using/invoking hunspell? Can you show a shell > session? > > > > I spell-checked your list in Emacs, using flyspell-region. What > > do you want to know about the invocation? I used UTF-8 encoding to > > communicate to Hunspell, if that's the question. > > > > Well, there may be a difference in the way flyspell uses hunspell/hspell > and the way > > https://metacpan.org/pod/Text::Hunspell does. We need to figure out > what goes wrong on my end. > > OK, so from the shell prompt, invoking Hunspell like this: > > hunspell -d he_IL -i utf-8 -L hewords.txt > > where hewords.txt is a UTF-8 encoded text file with the list of the > words you sent, gives me just 18 mis-spelled words: > > בודאי > בווסט-צ'סטר > בלנסות > בפרוייקטים > דברי-חוכמה > היוניקסית > הינה > היתה > הפרוייקט > טורבלדס > לינוס > לפרוייקט > ניסים > סטיבן > פיש > פרוייקט > ריימונד > תוכנות > > All of the mis-spellings look reasonable to me. > > Do you get the same result if you invoke Hunspell like above? > I'll try, thanks. -- Shlomi Fish http://www.shlomifish.org/ Buddha has the Chuck Norris nature. Please reply to list if it's a mailing list post - http://shlom.in/reply .
_______________________________________________ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il