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
2
votes
0 answers

How to use a personal dictionary instead of the default dictionaries in /usr/share/myspell with command hunspell

I want to check my dictionary so I don't want to run hunspell with the default dictionary. Anybody have any ideas? Thx in advance!
Big Shield
  • 612
  • 5
  • 15
2
votes
1 answer

Vim doesnt recognize german text when spelling

Using Vim8 with german hunspell files. Created german dictionary file using this command from within Vim: mkspell ~/.vim/spell/de /usr/share/hunspell/de_AT.aff This resulted in some error messages Unrecognized flags in /usr/share/hunspell/de_AT.aff…
JohnDoe
  • 2,422
  • 5
  • 29
  • 44
2
votes
5 answers

Where to put Hunspell dictionary for Elasticsearch

The Elasticsearch Hunspell docs say to put the dictionaries in config/hunspell Is it /usr/share/elasticsearch/config/hunspell/ or /etc/elasticsearch/config/hunspell/ or /etc/elasticsearch/hunspell/ or something else? So far, I've tried all of…
Phil B
  • 5,589
  • 7
  • 42
  • 58
2
votes
1 answer

Bulk spell checking for C code

I have a large source code package in C and I would like to spell check all string literals and comments. After adding exceptions to a file, I would like to perform the same procedure on each release, to see if there are any spelling errors…
Kostas
  • 1,292
  • 1
  • 13
  • 20
2
votes
1 answer

How to change a Hunspell affix file to allow numbers in words?

OCR programs often mistakenly recognize the capital letter O as a zero or vice versa. For example, they might recognize Over as 0ver or well as we11. I tried to add REP 0 O REP 1 l to the affix file, but it didn't work because numbers are…
Nemo XXX
  • 644
  • 2
  • 14
  • 35
2
votes
1 answer

hunspell match words with apostrophe

How can I make OpenOffice find words with initial and final apostrophe like: 'sa and int' but not sa or int? OpenOffice seems to exclude the apostrophe from the word, returning a non-match for 'sa (in fact it matches sa, that is a bad word). I have…
MauroT
  • 320
  • 2
  • 12
2
votes
1 answer

Hunspell - How to specify case-insensitivity for spell check in dic or aff file

I'm creating a custom spell check engine implementation using an open-source hunspell dic/aff set as a starting point. After an inordinate amount of hacking, googling, etc., I copied a flag set that appears to result in case-insensitive searching…
wolfmason
  • 399
  • 1
  • 13
2
votes
2 answers

Emacs spell checking with hunspell: no spell-checking done

I would like to activate spell checking within GNU Emacs 24.5.1 (on Mac OS X 11.10). I did the following: 1) brew install hunspell 2) cd ~/Library/Spelling wget http://cgit.freedesktop.org/libreoffice/dictionaries/plain/en/en_US.aff wget…
Marius Hofert
  • 6,546
  • 10
  • 48
  • 102
2
votes
1 answer

What does mean attribute "TRY" in Hunspell

Hunspell affix file may contain attribute TRY. What it does? The Hunspell documentation says: Hunspell can suggest right word forms, when they differ from the bad input word by one TRY character. The parameter of TRY is case sensitive. But I did…
Artur
  • 628
  • 5
  • 15
2
votes
2 answers

hunspell / emacs on OS X 10.9

I can't get aspell to build, so I'm trying hunspell. Got hunspell built. Set up .emacs so that emacs can (and does) find the executable, like so: ;;; Spell checking using hunspell (setq ispell-dictionary-alist '((nil "[A-Za-z]" "[^A-Za-z]" "[']"…
garyp
  • 967
  • 7
  • 36
2
votes
0 answers

Hunspell integration error

I have been trying to integrate the NHunspell spell checker API into a unity project that I am currently working on. I have been able to set it up correctly using the code: void Start() { using (Hunspell hunspell = new…
Boslem
  • 21
  • 1
2
votes
2 answers

Morphological text analysis with Python using *.dic *.aff

I have 2 files in hunspell format(.dic and .aff) for Ukrainian language. My program has to get base form of the input word. So, it can use word form from .dic file and affices from .aff files. I don't know how to achieve this even with Hunspell…
olha
  • 2,132
  • 1
  • 18
  • 39
2
votes
2 answers

How to display all mistaken words

I have some text in richTextBox1. I have to sort the words by their frequency and display them in richTextBox2. It seems to work. Have to find all mistaken words and display them in richTextBox4. I'm using Hunspell. Apparently I'm missing…
2
votes
0 answers

Use Hunspell to check HTML in Aptana Studio?

I have Aptana Studio 3 (build: 3.4.3.201308090259) with the Hunspell Eclipse plugin (version 0.8.7.201205281622). Spell checking is enabled in the preferences. Misspelled words are highlighted in comment blocks and some other places (which is, I…
Doug Dirks
  • 83
  • 1
  • 5
2
votes
0 answers

Hunspell Max word length

I'm using Nhunspell to check some spelling and found that : iamtheverrymoddelofthemoddlemajorgeneralImmineraryhjkfdhgjkfdhgjkdfhgjkdfhgjkdfhgjkdfhgukhdfgiuhruihgtuibtgiurtguitigubuitiuunguirureuinbuivbnbuivbniugndukghdfghuierbnuigvbgiutbiudb is an…
Jeff
  • 4,622
  • 2
  • 27
  • 40