Re: How to add words to system spell-checking dictionary

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> According to the man page for hunspell (specifically the bit describing
> the "-p" option), the default user dictionary should be called
> "$HOME/.hunspell_default" unless you are using hunspell from the
> command line and specifying "-p", "-d" or setting the DICTIONARY
> environment variable.

I have not set $DICTIONARY. When testing hunspell on the command line, I always just rain `hunspell test.txt` with no other arguments.

Renaming to ~/.hunspell_default did not fix the spell-checking in other applications. However, strangely, it did *break* spell-checking via the hunspell CLI. `hunspell test.txt` only works when my personal dictionary is named `~/.hunspell_en_US`.


> My guess is that your dictionary isn't being referenced. Try renaming
> it as shown above and try again. Also, "hunspell -D" will show you which
> directories are searched, which dictionaries are available and which are
> actually being used (based on your locale).

↪  hunspell -D
SEARCH PATH:
.::/usr/share/hunspell:/usr/share/myspell:/usr/share/myspell/dicts:/Library/Spelling:/home/terrycloth/.openoffice.org/3/user/wordbook:.openoffice.org2/user/wordbook:.openoffice.org2.0/user/wordbook: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/myspell/en_AG
/usr/share/myspell/en_AU
/usr/share/myspell/en_BS
/usr/share/myspell/en_BW
/usr/share/myspell/en_BZ
/usr/share/myspell/en_DK
/usr/share/myspell/en_GH
/usr/share/myspell/en_HK
/usr/share/myspell/en_IE
/usr/share/myspell/en_IN
/usr/share/myspell/en_JM
/usr/share/myspell/en_MW
/usr/share/myspell/en_NA
/usr/share/myspell/en_NG
/usr/share/myspell/en_NZ
/usr/share/myspell/en_PH
/usr/share/myspell/en_SG
/usr/share/myspell/en_TT
/usr/share/myspell/en_ZA
/usr/share/myspell/en_ZM
/usr/share/myspell/en_ZW
/usr/share/myspell/en_CA
/usr/share/myspell/en_GB
/usr/share/myspell/en_US
LOADED DICTIONARY:
/usr/share/myspell/en_US.aff
/usr/share/myspell/en_US.dic
Hunspell 1.4.0
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux