Unix & Linux Stack Exchange
Q&A for users of Linux, FreeBSD and other Unix-like operating systems
Latest Questions
1
votes
1
answers
82
views
hunspell dictionary not recognized in Thunderbird 102, when installed as Debian package
On Debian 12, I have installed additional language hunspell dictionaries: But when I start Thunderbird 102, it does not see them. When I click on Languages, it only offers the default `English (United States)` Hunspell dictionary works when I install the dictionary locally as Addon. But then, I woul...
On Debian 12, I have installed additional language hunspell dictionaries:
But when I start Thunderbird 102, it does not see them. When I click on Languages, it only offers the default
English (United States)
Hunspell dictionary works when I install the dictionary locally as Addon. But then, I would have to install it individually for all my profiles.
Howe can I install hunspell dictionary as Debian package and use it in Thunderbird ?
Martin Vegter
(586 rep)
Aug 9, 2023, 04:53 AM
• Last activity: Aug 14, 2023, 03:13 AM
0
votes
1
answers
94
views
meaning of suffix in hunspell files i.e. `/EPSozm`
When I grep for `phan` in my hunspell-dic file /usr/share/hunspell/de_DE_frami.dic, I get list of words including ```Zellophan/Sm cellophan/Sozm cellophan/hke cellophan/ozm glaukophan/EPSozm ``` Where do I find documentation, what the suffixes mean? I looked for a manpage for hunspell but only found...
When I grep for
phan
in my hunspell-dic file /usr/share/hunspell/de_DE_frami.dic, I get list of words including
/Sm
cellophan/Sozm
cellophan/hke
cellophan/ozm
glaukophan/EPSozm
Where do I find documentation, what the suffixes mean? I looked for a manpage for hunspell but only found a non helpful one to update-dictcommon-hunspell. man dict?
didn't help either.
user unknown
(10761 rep)
Mar 10, 2023, 03:26 PM
• Last activity: Mar 10, 2023, 03:47 PM
10
votes
2
answers
8687
views
Make hunspell work with emacs and german language
I want to make `hunspell` work with emacs24 and a german dictionary on a ubuntu 13.04-box. To do so I installed `hunspell` and `hunspell-de` and added the following to my `.emacs` file: (setq ispell-program-name "hunspell") (setq ispell-dictionary "deutsch8") When I open a file in emacs and start `f...
I want to make
hunspell
work with emacs24 and a german dictionary on a ubuntu 13.04-box.
To do so I installed hunspell
and hunspell-de
and added the following to my .emacs
file:
(setq ispell-program-name "hunspell")
(setq ispell-dictionary "deutsch8")
When I open a file in emacs and start flyspell-buffer
I get Starting new Ispell process [[hunspell::deutsch8]]
but it blocks the emacs buffer (mouse becomes a rotating disk indicating to wait) and works for endless without showing any results. So there must be something wrong with my config.
Without the second line it works, but only for english texts.
So what's the best way to setup hunspell
for emacs24
with a german dictionary on ubuntu 13.04? Are there any possible pitfalls?
student
(18865 rep)
Aug 13, 2013, 10:06 AM
• Last activity: Dec 22, 2022, 09:15 AM
0
votes
1
answers
505
views
Claws-Mail Spell Checker Not Finding hunspell-en_CA
I'm running the latest Claws-Mail (v3.17.6) on Arch Linux and downloaded the latest hunspell-en_CA package (v2019.10.06). When I go to 'Configuration > Preferences > Spell Checking' the 'Default Dictionary' drop down has nothing in it. I found the hunspell dictionary files are located in '/usr/share...
I'm running the latest Claws-Mail (v3.17.6) on Arch Linux and downloaded the latest hunspell-en_CA package (v2019.10.06). When I go to 'Configuration > Preferences > Spell Checking' the 'Default Dictionary' drop down has nothing in it.
I found the hunspell dictionary files are located in '/usr/share/hunspell/'. Is Claws-Mail looking in a different directory? Can I maybe link to these files?
Does anyone know how to get this working in Claw-Mail?
EDIT:
Here's the error message that I get when I compose or reply/forward to an email.
`Spell checker could not be started.
Couldn't initialize None dictionary: (null)
Couldn't initialize None speller.`
Thanks in advance!
DD-Nerd
(65 rep)
Aug 1, 2020, 12:14 PM
• Last activity: Aug 4, 2020, 08:05 PM
2
votes
0
answers
225
views
Multiple lanagues in hunspell / locale
I am finding myself more and more using French as well as English. I use hunspell (mostly on Slack and Signal) which picks languages from `locale`, Is there a way to have my locale support both at the same time so that hunspell can correct both English and French side-by-side? My `locale` currently...
I am finding myself more and more using French as well as English. I use hunspell (mostly on Slack and Signal) which picks languages from
locale
,
Is there a way to have my locale support both at the same time so that hunspell can correct both English and French side-by-side?
My locale
currently read:
; locale
LANG=en_GB.UTF-8
LC_CTYPE="en_GB.UTF-8"
LC_NUMERIC="en_GB.UTF-8"
LC_TIME="en_GB.UTF-8"
LC_COLLATE="en_GB.UTF-8"
LC_MONETARY="en_GB.UTF-8"
LC_MESSAGES="en_GB.UTF-8"
LC_PAPER="en_GB.UTF-8"
LC_NAME="en_GB.UTF-8"
LC_ADDRESS="en_GB.UTF-8"
LC_TELEPHONE="en_GB.UTF-8"
LC_MEASUREMENT="en_GB.UTF-8"
LC_IDENTIFICATION="en_GB.UTF-8"
LC_ALL=en_GB.UTF-8
It [appears that signal-desktop
does not support multiple languages yet…](https://github.com/signalapp/Signal-Desktop/issues/1659) thus a hunspell solution would be welcome.
Sardathrion - against SE abuse
(4493 rep)
Apr 2, 2019, 07:01 AM
• Last activity: Apr 2, 2019, 09:21 AM
2
votes
0
answers
392
views
How to maintain a list of names for the Hunspell spell checker?
**Hunspell** should help the user to write names properly. The names should be defined in the home directory of the user, so that every user can define his or her own list of important names. If a user starts to create a dictionary of names it would be very feasible to **check for the full names**:...
**Hunspell** should help the user to write names properly.
The names should be defined in the home directory of the user, so that every user can define his or her own list of important names.
If a user starts to create a dictionary of names it would be very feasible to **check for the full names**:
# Name # should be detected as
Walter Brattain # correct
Walter Britain # wrong
Leon Cooper # correct
Leon Copper # wrong
Léon Brillouin # correct
Leon Brillouin # wrong
**How can I generate the required dictionary?**
# I tried so far
cat ~/.hunspell_default/mynames.dic
Walter Brattain
Leon Cooper
Léon Brillouin
cat ~/.hunspell_default/mynames.aff
SET UTF-8
TRY esianrtolcdugmphbyfvkwzESIANRTOLCDUGMPHBYFVKWZ'
But this does not help Hunspell to find the misspelled names.
~/.hunspell_default$ echo "Walter Britain and Leon Copper visit Leon Brillouin." | hunspell -m -p mynames.dic
Walter st:Walter
Walter st:Walt fl:R
Britain st:Britain
and st:and
Leon st:Leon
Copper st:copper
Copper st:cop fl:R
visit st:visit
Leon st:Leon
Brillouin st:Brillouin
Jonas Stein
(4298 rep)
Jan 11, 2019, 10:15 PM
• Last activity: Jan 12, 2019, 12:36 PM
4
votes
0
answers
129
views
How to use the system spell checker dictionary in Firefox?
I want to maintain one good dictionary system wide. Unfortunately there are many applications which use their own Hunspell dictionary. Finally it depends on the application and its outdated dictionaries, if typos in a text were found or not. How can I let my **Firefox** use the **system wide Hunspel...
I want to maintain one good dictionary system wide. Unfortunately there are many applications which use their own Hunspell dictionary.
Finally it depends on the application and its outdated dictionaries, if typos in a text were found or not.
How can I let my **Firefox** use the **system wide Hunspell dictionaries** and the personal dictionary?
Jonas Stein
(4298 rep)
Jan 5, 2019, 11:28 PM
• Last activity: Jan 12, 2019, 11:20 AM
2
votes
1
answers
194
views
Firefox misspelling all words since version 61
On my Debian 9 with Firefox 61 every word is marked as misspelled, except numbers (right now, currently as I'm typing). Things I've tried: 1. Remove en-US dictionary and return it (Had to hard delete the files, as a simple removal of the extension did not remove files or menu option). 2. Add a secon...
On my Debian 9 with Firefox 61 every word is marked as misspelled, except numbers (right now, currently as I'm typing).
Things I've tried:
1. Remove en-US dictionary and return it (Had to hard delete the files, as a simple removal of the extension did not remove files or menu option).
2. Add a second dictionary - it added them in the language menu and extensions tab but I don't see the files at
/usr/lib/firefox/dictionaries/
. I tried this both through the addons and preferences.
3. Remove firefox (sudo apt-get remove firefox firefox-esr chromium
to make sure no alternative is installed) and install again.
4. Clear data (all of it).
5. Delete ~/.mozilla/firefox/*
.
None of the above works. I noticed removing/installing dictionaries from the extension page in firefox
does not affect the actual dictionary folder, even though the extension appears and the select language menu updates.
How do I get spell check to work?
Pardon any spelling mistakes.
kabanus
(331 rep)
Jul 9, 2018, 06:35 AM
• Last activity: Jan 12, 2019, 06:44 AM
1
votes
1
answers
226
views
Can someone explain what hunzip is for?
I understand what `hunspell` is for, but I was browsing the source code and the `man`, and I'm not sure: Does `hunzip` compress text files or just dictionaries ?
I understand what
hunspell
is for, but I was browsing the source code and the man
, and I'm not sure:
Does hunzip
compress text files or just dictionaries ?
jokoon
(336 rep)
Oct 1, 2011, 12:40 AM
• Last activity: Jan 12, 2019, 12:53 AM
5
votes
1
answers
3259
views
How to list available dictionaries for hunspell?
Is there some way to list all available dictionaries in `hunspell`? Something like `aspell dump dicts`. `printf | hunspell -D` prints too much junk, and I want to query `hunspell` itself, not do something like [`find /usr/share/myspell/dicts/ -name '*.dic' | cut -d '/' -f 6 | cut -d '.' -f 1 | sort`...
Is there some way to list all available dictionaries in
hunspell
? Something like aspell dump dicts
. printf | hunspell -D
prints too much junk, and I want to query hunspell
itself, not do something like find /usr/share/myspell/dicts/ -name '*.dic' | cut -d '/' -f 6 | cut -d '.' -f 1 | sort
.
l0b0
(53368 rep)
Feb 28, 2015, 11:09 AM
• Last activity: Jan 11, 2019, 11:10 PM
7
votes
2
answers
6837
views
hunspell: add word to dictionary from command line
From [hunspell man page](http://www.manpagez.com/man/1/hunspell/): ... When in the -a mode, hunspell will also accept lines of single words prefixed with any of '*', '&', '@', '+', '-', '~', '#', '!', '%', '`', or '^'. A line starting with '*' tells hunspell to insert the word into the user's dictio...
From [hunspell man page](http://www.manpagez.com/man/1/hunspell/) :
...
When in the -a mode, hunspell will also accept lines of single
words prefixed with any of '*', '&', '@', '+', '-', '~', '#',
'!', '%', '`', or '^'. A line starting with '*' tells hunspell
to insert the word into the user's dictionary (similar to the I
command).
...
I tried something like:
echo "* my_word" | hunspell -a
but the word is not in my dictionary as parsing sample file again shows it as misspelled word
How does this work, how can I add custom word?
Or with Aspell, or any "common" program that writes to compatible dictionaries read by Hunspell/Aspell?
zetah
(2117 rep)
Apr 10, 2012, 12:26 AM
• Last activity: Jan 11, 2019, 11:10 PM
1
votes
0
answers
403
views
Adding words to Hunspell dictionary of Typora Markdown Editor in terminal at least
How to add words to a specific Hunspell dictionary? I am trying to add words to the dictionary, but it doesn't work. Not from terminal nor from application `Typora` that uses the dictionary. root@lokal:/home/s/Dropbox/blog# ls -Alrt /usr/share/typora/resources/app/node_modules/spellchecker/vendor/hu...
How to add words to a specific Hunspell dictionary? I am trying to add words to the dictionary, but it doesn't work. Not from terminal nor from application
Typora
that uses the dictionary.
root@lokal:/home/s/Dropbox/blog# ls -Alrt /usr/share/typora/resources/app/node_modules/spellchecker/vendor/hunspell_dictionaries
total 2252
-rw-rw-r-- 1 root root 2406 Sep 12 04:28 README.txt
-rw-rw-rw- 1 root root 11818 Sep 12 04:28 en_US.aff
-rw-rw-rw- 1 root root 758364 Sep 19 21:15 en_US.dic
-rw-r--r-- 1 root root 9 Sep 21 11:36 .dic_delta
root@lokal:/home/s/Dropbox/blog#
Method found in https://unix.stackexchange.com/a/79915/204439
root@lokal:/home/s/Dropbox/blog# echo -e "*Nginx\n#" | hunspell -a
bash: /usr/bin/hunspell: No such file or directory
root@lokal:/home/s/Dropbox/blog#
doesn't work. I installed Hunspell, but then the dictionary in the path of Typora, shown above, was not loaded.
How to add words to the dictionary in terminal? Even better how to add words in Typora Markdown Editor? The normal way using Typora menu works only for one session.
trzczy
(680 rep)
Sep 24, 2018, 10:51 PM
• Last activity: Jan 11, 2019, 11:08 PM
Showing page 1 of 12 total questions