Questions tagged [nhunspell]

NHunspell is a .NET version of the Open Office spell checker library Hunspell and its sister projects Hyphen and MyThes.

NHunspell is a .NET version of the Open Office spell checker library Hunspell and its sister projects Hyphen and MyThes. It has therefore spell checking, hyphenation and thesaurus functions.

NHunspell is a wrapper binding against native compiled C++ Hunspell libraries (dlls).

NHunspell is licensed under: GPL/LGPL/MPL. More information is available on the project's page.

28 questions
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
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
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
1 answer

Could not load file or assembly Hunspellx64.dll while using NHUnspell NuGet package?

I have an ASP.NET/MVC Web Role that is using the NHUnspell NuGet package. When I try to run it I get the following error message: Could not load file or assembly 'Hunspellx64.dll' or one of its dependencies. The module was expected to contain an…
Robert Oschler
  • 14,153
  • 18
  • 94
  • 227
3
votes
1 answer

System.EntryPointNotFoundException when using aff file

I have created a project where I take a word in and use the Hunspell.dll class to do a check spell. Please note I downloaded this dll from a package through the xamarin studio IDE (FOR MAC). I also downloaded the .aff and .dic files needed for the…
paul590
  • 1,385
  • 1
  • 22
  • 43
3
votes
1 answer

Load .dic and .aff files from resource?

To load .dic and .aff files we use the following code. using (var hunspell = new Hunspell("en.aff", "en.dic")) { } But,how do I load NHunspell .dic and .aff files if embedded as resource using c# ? I am trying out…
jeff
  • 684
  • 1
  • 11
  • 30
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
1 answer

Nhunspell cannot add new word to dictionary

I want to add some custom words to dictionay by using Hunspell: I load from dictionary in the constructor: private readonly Hunspell _hunspell; public NhunspellHelper() { _hunspell = new Hunspell( …
Stiger
  • 1,189
  • 2
  • 14
  • 29
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

Hunspell Max word length

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

COMPOUNDRULE inside SFX

I don't understand why my example doesn't work (maybe it's my mistake?) I have this aff file FULLSTRIP COMPOUNDMIN 1 COMPOUNDRULE 1 COMPOUNDRULE AC SFX B Y 1 SFX B a b/A a This dic file 2 a/AB c/C And my tests are ac bc The result by running…
MauroT
  • 320
  • 2
  • 12
1
vote
0 answers

NHunspell suggestions for non-ANSI (?) characters

I tried the NHunspell NuGet package as follows: var hunspell = new NHunspell.Hunspell(@"AffPath", @"DicPath"); hunspell.Add("Upadeṣasāhasrī"); var suggestions =…
Thomas
  • 31
  • 5
1
vote
1 answer

NHunspell - How to generate all recognized words?

Is it possible with NHunspell to generate the list of all recognized/valid words? As far as I remember it was possible with hunspell (unmunch) from the command line. From current hunspell documentation: munch: dictionary generation from vocabularies…
hrzafer
  • 1,123
  • 1
  • 15
  • 35
1
vote
0 answers

How to create custom NHunspell dictionary?

I have made a C# windows application using NHunspell with its english dictionary. What I need is another list of some English words to make my dictionary(not all English words). So if I delete all the words in the .dic text file and add my word list…
user3218743
  • 579
  • 2
  • 8
  • 28
1
vote
1 answer

How to add NHunspell dictionary in Visual Studio 2012?

I'm new to VS and trying to use NHunSpell in my project. After the usual effort, I think I'm on the right track and one last problem remains: how to add the .dic and .aff files and have them present in my project. I've installed NHunSpell via NuGet…
Ben
  • 54,723
  • 49
  • 178
  • 224
1
2