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
7
votes
3 answers

Dictionary File Structure of Open Spell-Checkers

Is there any explanation docs or tutorials of the file structure of FreeDict, Aspell, Hunspell/OpenOffice Dictionaries especially concerning the switches at the end of each row in each .dic file? My guess is that the switches describe the semantic…
Nordlöw
  • 11,838
  • 10
  • 52
  • 99
7
votes
4 answers

Installing hunspell package

I'm looking forward to install the hunspell package using pip, but it throws the following error: Collecting hunspell Using cached hunspell-0.4.1.tar.gz Building wheels for collected packages: hunspell Running setup.py bdist_wheel for hunspell…
ABK
  • 511
  • 1
  • 7
  • 19
7
votes
2 answers

How to obtain all possible words from given hunspell dictionary?

I would like to parse open office supporting hunspell formatted aff and dic files. English aff and dic files can be downloaded from here for example : http://extensions.openoffice.org/en/project/english-dictionaries-apache-openoffice I want to scan…
Furkan Gözükara
  • 22,964
  • 77
  • 205
  • 342
7
votes
1 answer

Draw "red squiggly line" in CHtmlEditCtrl

I am working on building spellchecking functionality into my app which currently uses MFC's CHtmlEditCtrl control. Is there a way of drawing one of those "red squiggly lines" that you see under spelling errors on the HTML control, underneath the…
Raiden616
  • 1,545
  • 3
  • 18
  • 42
7
votes
1 answer

Amazon Elastic Search- Install Hunspell Stemmer

I want to use some dictionary based stemming via the hunspell token filter. I am using Amazon Elastic Search, but not getting how to configure these plugins to my domain. If any other dcitionary stemmer is available in AWS ES then it will be…
6
votes
3 answers

Intelligent spell checking

I'm using NHunspell to check a string for spelling errors like so: var words = content.Split(' '); string[] incorrect; using (var spellChecker = new Hunspell(affixFile, dictionaryFile)) { incorrect = words.Where(x => !spellChecker.Spell(x)) …
Phil
  • 6,561
  • 4
  • 44
  • 69
6
votes
3 answers

group and classify words as well as characters

I need to split on slash and then report tags. This is hunspell dictionary format. I tried to find a class on github that would do this, but could not find one. # vi test.txt test/S boy girl/SE home/ house/SE123 man/E country wind/ES The code: from…
shantanuo
  • 31,689
  • 78
  • 245
  • 403
6
votes
5 answers

How do I resolve a Hunspell Intel 32bit DLL not found exception?

I have used the following code for spelling checking. While I am running it, I get an DLLFileNotFound exception: "Hunspell Intel 32Bit DLL not found: C:\project\splee\Hunspellx86.dll". Code Snippet: using (Hunspell hunspell = new…
NikRED
  • 1,175
  • 2
  • 21
  • 39
6
votes
1 answer

Using the C# NHunspell how do I check words?

Using the C# NHunspell, how do I check if a word is spelled correctly and if not what the correct spelling is? I've imported the NHunspell.dll into the project. And have looked at the documentation. But being a bit new at reading documentation it's…
Howard
  • 3,648
  • 13
  • 58
  • 86
6
votes
1 answer

Is it possible to make Hunspell print the line numbers of the misspelled words?

I am trying to use Hunspell to correct an essay I have written. Unfortunately, it is useless to me, as long as it doesn’t print the line numbers of the misspelled words. So right now I am using the -a option, in order to be able to pipe it into the…
devsnd
  • 7,382
  • 3
  • 42
  • 50
5
votes
1 answer

On MacOS, hunspell can't find existing .aff and .dic files in Library/Spelling/

I have downloaded hunspell with a brew command, and want to use it in Emacs, but hunspell doesn't seem to locate my *.aff and *.dic files in ~/Library/Spelling, even though they are there. With the command line command hunspell -D, the result…
Daniel Rammey
  • 51
  • 1
  • 2
5
votes
1 answer

How to use hunspell package to suggest correct words in a column in R?

I'm currently working with a large data frame containing lots of text in each row and would like to effectively identify and replace misspelled words in each sentence with the hunspell package. I was able to identify the misspelled words, but can't…
cheklapkok
  • 439
  • 1
  • 5
  • 11
5
votes
0 answers

cannot open 'libhunspell.lib' when trying to install hunspell for python

Im trying to install the ‘hunspell’ package for python 3.4 in windows 7 using pip, but when running this pip install hunspell I get the following error message: LINK : fatal error LNK1181: cannot open input file 'libhunspell.lib' error: command…
erantol
  • 51
  • 3
5
votes
3 answers

Spelling libraries (like hunspell) in UWP Applications?

I am porting an application for writers to the UWP platorm. The only piece of the puzzle i have left is the NHunspell library. I use it extensively for spell checking and thesaurus features. I've customized the heck out of it, and created custom…
Jerry
  • 4,507
  • 9
  • 50
  • 79
5
votes
2 answers

spell checker uses language model

I look for spell checker that could use language model. I know there is a lot of good spell checkers such as Hunspell, however as I see it doesn't relate to context, so it only token-based spell checker. for example, I lick eating banana so here at…
user16168
  • 625
  • 2
  • 8
  • 16
1
2
3
15 16