246 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
1
answer
104
views
Word check fails in WeCantSpell.Hunspell
I am trying to insert text control with WeCantSpell.Hunspell in a Windows Forms app on .NET 4.8.1, but every word is wrong and I don't understand why.
This is my code inserted into a PushButton:
...
0
votes
0
answers
31
views
Modifying Hunspell affix file to suggest more spelling variations
I'm encountering an issue with Hunspell's spell-checking in Emacs. When I misspell "preparing" as "perapring", Hunspell doesn't suggest the correct spelling. Instead, it offers ...
0
votes
1
answer
35
views
unable to find libhunspell-1.6.so.0 in a rails app
ruby 2.6.6;
rails 6.1.7; and
ubuntu 24.04
require 'hunspell' results in
libhunspell-1.6.so.0: cannot open shared object file: No such file or directory - /var/www/xxxxxxx.org/shared/vendor/bundle/ruby/...
0
votes
1
answer
99
views
WeCantSpell.Hunspell reports individual characters as correctly spelled words
I need to spell check a very large number of sentences and return those without errors. I have tried both Hunspell and WeCantSpell.Hunspell. In both I find that all individual characters "b",...
0
votes
1
answer
88
views
Modify the affix file to accept spelling variations
In Hunspell, I have a .dic file that contains all correct words, for example:
and
That correct word is suggested if the user types something like this:
adn
Let's assume there is a language that ...
0
votes
1
answer
40
views
WARN and FORBIDWARN
I have a question about the Welsh hunspell dict pack.
https://github.com/fin-w/LibreOffice-Geiriadur-Cymraeg-Welsh-Dictionary/blob/main/dictionaries/cy_GB.aff
I can see that these 2 lines are used in ...
3
votes
1
answer
195
views
A macro to remove the first space
Is it possible to write a macro for the problem explained in this discussion?
https://ask.libreoffice.org/t/can-you-auto-delete-the-space-before-an-auto-corrected-word/101757
If the following sequence ...
0
votes
0
answers
44
views
NHunspell Hyphenation crashing without any error or exception
I am trying to use NHunspell NuGet package to hyphenate words in an ASP.NET MVC application.
Here is the code that crashes the application:
using NHunspell;
namespace MyApp.Hyphenation.NHunspell;
...
0
votes
1
answer
193
views
Numbers in hyphenation rules
English Hyphenation file looks something like this...
LEFTHYPHENMIN 2
RIGHTHYPHENMIN 3
COMPOUNDLEFTHYPHENMIN 2
COMPOUNDRIGHTHYPHENMIN 3
.a2ch4
.ad1d4
.am5at
1, 2, 4 and 5 numbers are added next to ...
1
vote
0
answers
64
views
Number of max rules for CHECKCOMPOUNDPATTERN?
I have this affix and dic file that is working as expected.
cat sa_IN.aff
SET UTF-8
COMPOUNDFLAG X
MAXCPDSUGS 0
CHECKCOMPOUNDPATTERN 1
CHECKCOMPOUNDPATTERN त् अ द
And the wordlist...
cat sa_IN.dic
...
2
votes
1
answer
120
views
A word should be treated as incorrect unless followed by a dot
How does hunspell handle dots (periods .) ?
For example, it is written e.g. or Dr. should these words be treated as correct? Is there any way to tell hunspell that Dr is correct only if it is followed ...
0
votes
1
answer
460
views
Some questions about the usage of the Hunspell data format in the Hungarian Hunspell dictionary?
After reading through the Hunspell docs, I started looking at the seemingly most advanced instance of a set of Hunspell dictionary files, and it seems the Hungarian one (Hun-garian Spell) is the most ...
1
vote
0
answers
53
views
What the CIRCUMFIX option `+` sign does in Hunspell?
Here in the docs it shows this about circumfixes (source code here):
# circumfixes: ̃ obligate prefix/suffix combinations
# superlative in Hungarian: leg- (prefix) AND -bb (suffix)
# nagy, nagyobb, ...
1
vote
1
answer
136
views
How to build a prefix trie for fast prefix text search, using data from a Hunspell dictionary, without precomputing all derived word forms?
I am looking at a sample Hunspell dictionary like this Sanskrit one (or this 800,000+ line zip file one), which has stuff like this:
युयुक्ष्ये/3,4,33,34,53,63,76,86,88,94,158,178,179,182,184,185
...
4
votes
1
answer
359
views
How to get more word suggestions from Hunspell with pyhunspell
I'm using hunspell with the pyhunspell wrapper. I'm calling:
hunspell.suggest("Yokk")
But this is returning only ["Yolk", "Yoke"]. I saw that "York" is in the ...