How do I use hspell / hunspell hebrew as part of an HTML site test suite?

How do I use hspell / hunspell hebrew as part of an HTML site test suite?

Shlomi Fish shlomif at gmail.com
Sat Jun 1 20:34:25 IDT 2019


Thanks Eli!


On Sat, Jun 1, 2019 at 8:20 PM Eli Zaretskii <eliz at gnu.org> wrote:

> > From: Shlomi Fish <shlomif at gmail.com>
> > Date: Sat, 1 Jun 2019 19:49:32 +0300
> >
> > So I created this branch -
> https://github.com/shlomif/shlomi-fish-homepage/tree/spell-check-hebrew
> (note the
> > branch name). Which adds autochecking using
> https://metacpan.org/pod/Text::Hunspell . However many
> > legitimate Hebrew words are marked as errors:
>
> FWIW, using Hunspell and he_IL dictionary, I see only a small number
> of words from this list marked as misspellings:
>
> בודאי - should be "בוודאי"
> בווסט-צ'סטר - this is not Hebrew
> בלנסות - this is incorrect Hebrew
> בפרוייקטים - should be "בפרויקטים"
> דברי-חוכמה - should be "דברי-חכמה"
> היוניקסית - not a Hebrew word
> הינה - should be "הנה"
> היתה - should be "הייתה"
> טורבלדס - not a Hebrew word
> לינוס - ditto
> ניסים - should be "נסים"
>
> and a few more.
>
> Maybe your dictionary is not the best one?
>

I am on Mageia Linux v7 using:

```
shlomif[cleanup]:~$ rpm -qil hunspell-he
Name        : hunspell-he
Version     : 1.4
Release     : 2.mga7
Architecture: noarch
Install Date: Mon 18 Feb 2019 12:13:52 IST
Group       : System/Internationalization
Size        : 7875297
License     : LGPL
Signature   : RSA/SHA256, Tue 25 Sep 2018 22:53:10 IDT, Key ID
b742fa8b80420f66
Source RPM  : hspell-1.4-2.mga7.src.rpm
Build Date  : Tue 25 Sep 2018 22:32:02 IDT
Build Host  : localhost
Relocations : (not relocatable)
Packager    : umeabot <umeabot>
Vendor      : Mageia.Org
URL         : http://hspell.ivrix.org.il/
Summary     : Hebrew hunspell dictionaries
Description :
Hebrew hunspell dictionaries
/usr/share/hunspell/he_IL.aff
/usr/share/hunspell/he_IL.dic
/usr/share/myspell/he_IL.aff
/usr/share/myspell/he_IL.dic
```

Latest version as https://packages.debian.org/sid/hspell . What is your
OS/dist/version?

-- 
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 .
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cs.huji.ac.il/pipermail/linux-il/attachments/20190601/ac27bc90/attachment.html>


More information about the Linux-il mailing list