Questions tagged [hunspell]

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

Filter by
Sorted by
Tagged with
39 votes
3 answers
24k views

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 ...
Kevin Burke's user avatar
  • 63.1k
30 votes
5 answers
21k views

How to make custom dictionary for Hunspell [closed]

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 ...
Amin Y's user avatar
  • 721
14 votes
3 answers
5k views

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/...
d.putto's user avatar
  • 7,405
13 votes
2 answers
8k views

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 ...
Hakim's user avatar
  • 11.5k
12 votes
5 answers
6k views

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 ...
Haris Osmanagić's user avatar
12 votes
3 answers
12k views

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 ...
user avatar
12 votes
3 answers
9k views

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 ...
monotux's user avatar
  • 3,697
12 votes
3 answers
2k views

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's user avatar
  • 121
10 votes
2 answers
5k views

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 ...
TaylorT's user avatar
  • 208
9 votes
2 answers
4k views

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 (...
MaXal's user avatar
  • 851
9 votes
1 answer
1k views

Is Hunspell thread safe?

Is the Hunspell spelling library thread-safe?
Amit Bens's user avatar
  • 1,355
9 votes
1 answer
3k views

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 ...
98cafe's user avatar
  • 151
9 votes
2 answers
968 views

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 (...
log0's user avatar
  • 10.7k
8 votes
1 answer
10k views

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: ...
LucyL's user avatar
  • 81
8 votes
3 answers
3k views

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/...
Furkan Gözükara's user avatar
8 votes
1 answer
292 views

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 ...
ppp ppp's user avatar
  • 83
8 votes
3 answers
1k views

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 ...
Nordlöw's user avatar
  • 12k
7 votes
4 answers
8k views

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: ...
ABK's user avatar
  • 511
7 votes
1 answer
311 views

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 ...
Raiden616's user avatar
  • 1,555
7 votes
1 answer
753 views

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 ...
Mayank Singhania's user avatar
6 votes
1 answer
1k views

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 ...
devsnd's user avatar
  • 7,562
6 votes
5 answers
3k views

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". ...
NikRED's user avatar
  • 1,195
6 votes
1 answer
10k views

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. ...
Howard's user avatar
  • 3,688
6 votes
3 answers
244 views

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/ ...
shantanuo's user avatar
  • 32k
6 votes
3 answers
1k views

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)) { ...
Phil's user avatar
  • 6,609
5 votes
1 answer
4k views

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 ...
cheklapkok's user avatar
5 votes
1 answer
3k views

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 ...
Daniel Rammey's user avatar
5 votes
3 answers
1k views

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 ...
Jerry's user avatar
  • 4,517
5 votes
1 answer
643 views

Correctly saved words with german Umlaute in personal dictionary of hunspell not recognised as correct spelling by emacs ispell or flyspell

I have a perfectly working setup for hunspell with emacs (flyspell) using ("german” "[[:alpha:]]" "[^[:alpha:]]" "[']" t ("-d" "de_DE_frami" ) nil utf-8) as dictionary definition for ispell-...
emelin's user avatar
  • 101
5 votes
2 answers
2k views

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 ...
user16168's user avatar
  • 625
5 votes
0 answers
629 views

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 ...
erantol's user avatar
  • 51
4 votes
2 answers
3k views

Nhunspell C# Adding Word to Dictionary

I have managed to incorporate spell checking into my C# project using NHunspell. What I would like to do is actually add a word to the dictionary file. There is a method to do this inside of NHunspell ...
Jpin's user avatar
  • 1,537
4 votes
3 answers
5k views

Python hunspell package installation via pip fails

The installation of the hunspell python package (via pip) fails with the following error: hunspell.c:21:22: fatal error: hunspell.h: No such file or directory #include <hunspell.h> ...
Phil B's user avatar
  • 5,879
4 votes
2 answers
7k views

pip install hunspell: Cannot open include file: 'hunspell.h': No such file or directory

I'm trying to pip install hunspell on my windows 10 x64 machine, but I get the following error: C:\Users\a>pip install hunspell Collecting hunspell Using cached hunspell-0.3.3.tar.gz Installing ...
AXO's user avatar
  • 8,615
4 votes
1 answer
2k views

What is good for spell checker? Google spell checker or Hunspell

For my asp.net website, I need spell check functionality. I found some interesting solutions to do it. 1. Google spell checker 2. Hunspell. Both are free. For my understanding I realized some cons ...
cp100's user avatar
  • 1,473
4 votes
1 answer
2k views

Combine two BDIC files from Chrome (hunspell) into one

I have two BDIC (binary dictionary?) files from Google Chrome spell checker (based on hunspell). I want to combine this two files into one single BDIC for all words. Here is a reader/writer (...
osgx's user avatar
  • 92.1k
4 votes
1 answer
1k views

Interactive Spell Checking Programs Available for emacs

I recently switched to emacs24 and upgraded to Ubuntu 12.04. I can't seem to get hunspell working correctly again. I find hunspell to be better than aspell generally. Hunspell only wants to use the ...
J Spen's user avatar
  • 2,644
4 votes
1 answer
826 views

NHunspell with Microsoft Word?

Does anyone know if there is a way to integrate NHunspell with Microsoft Word? I've been trying to find a way to use opensource spelling dictionaries with Microsoft Word to enable support for ...
Nathan's user avatar
  • 1,493
4 votes
1 answer
280 views

libreoffice/openoffice Auto Spell Check has never worked

I have used OpenOffice/LibreOffice for at least a decade. I do not write documents very often, and the biggest pet peeve I have is that I have to google the recipe to turn spell check on EVERY TIME ...
Bodger's user avatar
  • 1,352
4 votes
1 answer
232 views

emacs ispell breaks on latex quotation marks

My emacs "ispell" command, which runs hunspell, breaks when it hits quoted sections in my emacs latex buffer (I am using AucTEX). With my previous emacs/Linux distro it didn't have this problem. ...
WorldsEndless's user avatar
4 votes
1 answer
290 views

How and what does Firefox (Hunspell) do to clean text before spellchecking words?

I am trying to clean text in the exact way that Firefox does before spell checking individual words for a Firefox extension I'm building (my addon uses nspell, a JavaScript implementation of Hunspell, ...
GrayedFox's user avatar
  • 2,446
4 votes
1 answer
488 views

Hunspell/Aspell data conversion to human-readable inflection list

Is there an easy way to generate a human-readable inflection list from Hunspell/Aspell dictionary data files? For example, I'd like to generate the following outputs (for different languages): ... ...
Nemo XXX's user avatar
  • 644
4 votes
0 answers
3k views

Autocorrecting all misspelled text data in R

So I have been searching for a long time on methods to correct typos in text in R, without manually adding/replacing words. I have data in text format that is the patients' complaints in an emergency ...
Diana01's user avatar
  • 183
4 votes
0 answers
283 views

How does hunspell works

I looked for a paper which explains how does hunspell works, but without any success. I would like to know how does hunspell works and especially how does it make suggestions ? Does it uses ...
ABK's user avatar
  • 511
4 votes
1 answer
199 views

hunspell suggestions score on python

I am new to Hunspell, i'm working on python 3.4 with hunspell package. I'm wondering if there is a way we can see score for each suggestion in Hunspell and choose a cut off if we want to (cut off : ...
ABK's user avatar
  • 511
4 votes
0 answers
854 views

How to use unmunch command of hunspell?

The project link : https://github.com/hunspell/hunspell/ I have followed the instructions and compiled the DLL files on windows 8.1 Here the dll files folder Then i start a CMD window as ...
Furkan Gözükara's user avatar
3 votes
2 answers
2k views

Write to file cut off

My goal is to take a file of sentences, apply some basic filtering, and output the remaining sentences to a file and the terminal. I'm using the Hunspell library. Here's how I get sentences from the ...
Isaac G.'s user avatar
3 votes
2 answers
2k views

NodeJS: loading ES Modules and native addons in the same project

Before the actual questions (see at the end), please let me show the steps that lead to that question through an example: Creating the project tests$ mkdir esm && cd esm tests/esm$ nvm -v 0.37....
rellampec's user avatar
  • 724
3 votes
2 answers
2k views

How to check spelling in Hunspell with case insensitive

Hi I am making a desktop application (C#) that checks the spelling of the inputted word. I am using Hunspell which I added to my project using NuGet. I have 2 files the aff file and the dic file. ...
MMakati's user avatar
  • 693
3 votes
2 answers
1k views

Hunspell, unmunch - dump whole dictionary, encoding error

I'd like dump hunspell's pl_PL dictionary. I found the solution: unmunch /usr/share/hunspell/pl_PL.dic /usr/share/hunspell/pl_PL.aff But there's problem with encoding. Part of the output: ...
Mateusz Jagiełło's user avatar

1
2 3 4 5