Skip to content

On Linux, contractions (e.g. "couldn't," "didn't") are checked as two words, split at apostrophe, using English dictionary #33

@AndydeCleyre

Description

@AndydeCleyre

Zsh:

$ head -1 /etc/os-release
NAME="Arch Linux"
$ pacman -Q telegram-desktop
telegram-desktop 6.2.5-1
$ pacman -Q hunspell
hunspell 1.7.2-2
$ pacman -Q hunspell-en_us
hunspell-en_us 2020.12.07-5
$ pacman -Q enchant  # I don't usually have this installed, but tried to see if it made a difference
enchant 2.8.12-1
$ hunspell -l =(<<<"I couldn't help it didn't you notice t f s a x asdf.")
asdf
$ enchant-2 -l =(<<<"I couldn't help it didn't you notice t f s a x asdf.") 2>/dev/null
asdf
$ enchant-2 -l =(<<<"I couldn't help it didn't you notice t f s a x asdf.")

(enchant-2:934789): libenchant-WARNING **: 11:26:45.938: broker.vala:156: Error loading plugin: libnuspell.so.5: cannot open shared object file: No such file or directory

(enchant-2:934789): libenchant-WARNING **: 11:26:45.938: broker.vala:156: Error loading plugin: libaspell.so.15: cannot open shared object file: No such file or directory

(enchant-2:934789): libenchant-WARNING **: 11:26:45.938: broker.vala:156: Error loading plugin: libvoikko.so.1: cannot open shared object file: No such file or directory

(enchant-2:934789): libenchant-WARNING **: 11:26:45.938: broker.vala:156: Error loading plugin: libhspell.so.0: cannot open shared object file: No such file or directory
asdf
$ hunspell -D
SEARCH PATH:
.::/usr/share/hunspell:/usr/share/myspell:/usr/share/myspell/dicts:/Library/Spelling:/home/andy/.openoffice.org/3/user/wordbook:/home/andy/.openoffice.org2/user/wordbook:/home/andy/.openoffice.org2.0/user/wordbook:/home/andy/Library/Spelling:/opt/openoffice.org/basis3.0/share/dict/ooo:/usr/lib/openoffice.org/basis3.0/share/dict/ooo:/opt/openoffice.org2.4/share/dict/ooo:/usr/lib/openoffice.org2.4/share/dict/ooo:/opt/openoffice.org2.3/share/dict/ooo:/usr/lib/openoffice.org2.3/share/dict/ooo:/opt/openoffice.org2.2/share/dict/ooo:/usr/lib/openoffice.org2.2/share/dict/ooo:/opt/openoffice.org2.1/share/dict/ooo:/usr/lib/openoffice.org2.1/share/dict/ooo:/opt/openoffice.org2.0/share/dict/ooo:/usr/lib/openoffice.org2.0/share/dict/ooo
AVAILABLE DICTIONARIES (path is not mandatory for -d option):
/usr/share/hunspell/en_US
/usr/share/hunspell/en_US-large
/usr/share/myspell/dicts/en_US
/usr/share/myspell/dicts/en_US-large
LOADED DICTIONARY:
/usr/share/hunspell/en_US.aff
/usr/share/hunspell/en_US.dic
Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions