From: Agustin Martin <agustin.martin@hispalinux.es>
To: 13639@debbugs.gnu.org
Subject: bug#13639: [emacs] ispell.el: hunspell dicts autodetection under Emacs.
Date: Thu, 28 Feb 2013 20:23:45 +0100 [thread overview]
Message-ID: <20130228192345.GB9113@agmartin.aq.upm.es> (raw)
In-Reply-To: <83mwuyolnq.fsf@gnu.org>
On Wed, Feb 20, 2013 at 09:00:41PM +0200, Eli Zaretskii wrote:
> I didn't just read the man page, I also looked into several *.aff
> files that install with Hunspell dictionaries. It is clear to me that
> WORDCHARS is at least unreliable, even if your interpretation is
> correct (of which I'm still unconvinced): some *.aff files don't have
> that entry at all (e.g., en_GB.aff, whose OTHERCHARS should include
> the ' character, and also ru_RU.aff); others, like he_IL.aff, have
> that entry mention all the CASECHARS, in addition to OTHERCHARS. I
> wouldn't bet my money on what that entry gives us.
IMHO those dictionaries are buggy (this may include some of the dicts I
package for Debian, have to look).
As an example, I tried Debian en_AU, not having WORDCHARS '
$ echo "ber's" | hunspell -a -d /usr/share/hunspell/en_AU
@(#) International Ispell Version 3.2.06 (but really Hunspell 1.3.2)
& ber 15 0: bee, bet, be, beer, bier, bear, berg, berm, bar, bed, bur, beg, per, her, be r
*
while if I add the WORDCHARS ' entry I get, as expected
$ echo "ber's" | hunspell -a -d ./en_AU
@(#) International Ispell Version 3.2.06 (but really Hunspell 1.3.2)
& ber's 15 0: bee's, bet's, beer's, bier's, berg's, berm's, bar's, bed's, bur's, bergs, berms, mer's, Ser's, Berber's, Berger's
with ' properly handled.
> > The good news are that I started working on hunspell dicts autodetection.
>
> Good news, indeed! Thanks!
Just commited a first cut for hunspell dicts autodetection. I have tested it
only in my GNU/Debian box and seems to work well, so time is come for real
life check to notice how many things went unnoticed.
--
Agustin
next prev parent reply other threads:[~2013-02-28 19:23 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-16 12:25 bug#13460: Issue to change dictionary when using hunspell on emacs Jochen Schmitt
2013-01-16 18:01 ` Eli Zaretskii
2013-01-16 23:23 ` Glenn Morris
2013-01-17 3:51 ` Eli Zaretskii
2013-01-17 6:37 ` Glenn Morris
2013-01-17 12:26 ` Agustin Martin
2013-01-17 15:24 ` Agustin Martin
2013-01-17 16:31 ` Stefan Monnier
2013-01-17 18:15 ` Agustin Martin
2013-01-17 16:41 ` Eli Zaretskii
2013-01-17 18:12 ` Agustin Martin
2013-01-17 18:42 ` Eli Zaretskii
[not found] ` <11624660.12538.1358448223517.JavaMail.root@mx1-new.spamfiltro.es>
2013-01-17 19:06 ` Agustin Martin
2013-01-17 19:36 ` Eli Zaretskii
2013-01-17 18:08 ` Glenn Morris
[not found] ` <7076415.12428.1358446115519.JavaMail.root@mx1-new.spamfiltro.es>
2013-01-17 18:44 ` Agustin Martin
2013-01-17 16:10 ` Eli Zaretskii
[not found] ` <20130117131733.GA20519@omega.in.herr-schmitt.de>
2013-01-17 18:19 ` Glenn Morris
2013-01-17 19:30 ` Agustin Martin
2013-01-18 17:05 ` Agustin Martin
2013-01-18 18:03 ` Jochen Schmitt
2013-01-18 19:03 ` Eli Zaretskii
2013-01-18 19:23 ` Agustin Martin
2013-01-18 19:05 ` Agustin Martin
2013-01-21 16:52 ` Agustin Martin
2013-01-21 9:43 ` Jochen Schmitt
2013-02-20 17:50 ` bug#13639: [emacs] ispell.el: hunspell dicts autodetection under Emacs Agustin Martin
2013-02-20 19:00 ` Eli Zaretskii
2013-02-28 19:23 ` Agustin Martin [this message]
2013-02-28 20:26 ` Eli Zaretskii
2013-04-15 10:18 ` Agustin Martin
2013-04-04 14:41 ` bug#13639: " Jacek Chrząszcz
2013-04-05 15:57 ` Agustin Martin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130228192345.GB9113@agmartin.aq.upm.es \
--to=agustin.martin@hispalinux.es \
--cc=13639@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.