Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1016480

Bug#964257: Correctly handle apostophes in English dictionaries

From Yuri D'Elia <wavexx@thregr.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#964257: Correctly handle apostophes in English dictionaries
Date 2020-07-04 17:20 +0200
Message-ID <AoS7n-38B-13@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Package: hunspell-en-us
Version: 1:2019.10.06-1
Severity: minor

For an embarassingly long time I was wondering why
aspell/ispell/hunspell wouldn't handle correctly anything basic with
apostrophes, such as "isn't".

Turns out I read the explaination, by random chance, here:

https://www.emacswiki.org/emacs/InteractiveSpell#toc16

It seems that /usr/share/hunspell/en_US.aff already has the ICONV rules,
but doesn't include "'’" in WORDCHARS.

I can confirm that those to WORDCHARS makes hunspell actually behave as
intended. Shouldn't this be the default for all english dictionaries?

(note that while the URL mentions emacs, this does affect the basic
hunspell cli as well)

Back to linux.debian.bugs.dist | Previous | Next | Find similar | Unroll thread


Thread

Bug#964257: Correctly handle apostophes in English dictionaries Yuri D'Elia <wavexx@thregr.org> - 2020-07-04 17:20 +0200

csiph-web