Questions tagged [hunspell]

An open source spell checker, used by OpenOffice, Firefox, Google Chrome and Mac OS X.

Hunspell is a spell checker and morphological analyzer designed for languages with rich morphology and complex word compounding and character encoding, originally designed for the Hungarian language.

http://en.wikipedia.org/wiki/Hunspell

238 questions
36
votes
3 answers

Hunspell - Can't open affix or dictionary files for dictionary named en_US

I'd like to use hunspell to spell check my repo. However when I try to run it I get the following error: Can't open affix or dictionary files for dictionary named "en_US". How can I fix this? I'm on a Mac. Thanks, Kevin
Kevin Burke
  • 61,194
  • 76
  • 188
  • 305
29
votes
5 answers

How to make custom dictionary for Hunspell

I have a question about building a custom dictionary for hunspell. I'm using a general English dictionary and affix file right now. How can I add user-specified words to that dictionary for each of my users?
Amin Y
  • 701
  • 1
  • 9
  • 15
14
votes
3 answers

spell check in Rstudio

How to configure and use spell check in Rstudio? In the tools>Global option>spelling I have set the main dictionary language as English(US) and custom dictionary as en_us from "/usr/lib/rstudio/resources/dictionaries/en_US.dic". Still I do not see…
d.putto
  • 7,185
  • 11
  • 39
  • 45
13
votes
2 answers

Spell checking a file using command line, non-interactively

I have a large text file, containing many miss/bad-spelled English words. I'm looking for a way to edit this file using a command-line spell checker in Linux. I found some ways to do this, But according to my searches all of them work in an…
Hakim
  • 11,110
  • 14
  • 34
  • 37
12
votes
3 answers

Working setup for hunspell in Emacs

Does anyone have a working setup for hunspell and Emacs? Simply setting ispell-program-name to hunspell doesn't work, the output (when using flyspell, for example) looks like below: -> UTF-8 encoding error. Missing continuation byte in 0. character…
monotux
  • 3,657
  • 28
  • 30
12
votes
3 answers

Emacs Windows spellcheck - aspell or hunspell

I use emacs 23.1.50 version on Windows XP operation system. I could not setup hunspell or aspell as part of emacs with the example provided by the emacs wiki. Anyone has working confiugration for windows xp and please help me out.
user90150
11
votes
3 answers

Hunspell on Android

Does anyone successfully implemented Hunspell spell-checker on Android platform? Is it even possible? Did you try it? What about the results? Thank you in advance.
z.b
  • 111
  • 4
10
votes
4 answers

Generate all word forms using Lucene & Hunspell

In an application I work on, we use Lucene Analyzer, especially it's Hunspell part. The problem I face is: I need to generate all word forms of a word, using a set of affix rules. E.g. having the word 'educate' and affix rules ABC, generate all…
Haris Osmanagić
  • 1,249
  • 12
  • 28
10
votes
2 answers

Simple spell check method/gem in ruby?

I am looking for a relatively quick way to check whether words are misspelled, either using a gem or API. I've tried using several gems -- raspell, ffi-aspell, hunspell-ffi, spell_cheker, and spellchecker -- and each has a different error. I'm…
TaylorT
  • 208
  • 3
  • 9
9
votes
2 answers

Max edit distance and suggestion based on word frequency

I need a spell checker with the following specification: Very scalable. To be able to set a maximum edit distance for the suggested words. To get suggestion based on provided words frequencies (most common word first). I took a look at…
log0
  • 10,489
  • 4
  • 28
  • 62
9
votes
2 answers

How to do spell check on html and xml?

I have to do spell check for large number of big html and xml documents (more than 30.000). I also need custom dictionary and sophisticated algorithms of checking. I try to use BASH + linux utility (sed, grep, ...) with hunspell. Hunspell has option…
MaXal
  • 841
  • 2
  • 8
  • 23
9
votes
1 answer

Is Hunspell thread safe?

Is the Hunspell spelling library thread-safe?
Amit Bens
  • 1,315
  • 3
  • 12
  • 20
9
votes
1 answer

Examples/Tutorials of Hunspell

I've tried looking through the documentation found on SourceForge with Hunspell, but I'm still lost. Are there any decent examples of hunspell that a C++ beginner would be able to follow? Failing that, are there any free/opensource spellcheckers…
98cafe
  • 151
  • 1
  • 9
8
votes
1 answer

Java, project panama and how to deal with Hunspell 'suggest' result

I'm experimenting with Hunspell and how to interact with it using Java Project Panama (Build 19-panama+1-13 (2022/1/18)). I was able to get some initial testing done, as in creating a handle to Hunspell and subsequently using that to perform a spell…
ppp ppp
  • 83
  • 3
8
votes
1 answer

How do I install hunspell on windows10?

I'm new to python and need help with getting hunspell installed on my windows 10. The tool is PyCharm. First I tried to install CyHunspell: pip install CyHunspell and got the following error msg: RuntimeError: 'pkg-config' is not recognized as an…
LucyL
  • 81
  • 1
  • 2
1
2 3
15 16