hunspell

How to obtain all possible words from given hunspell dictionary?

喜你入骨 提交于 2019-12-11 05:17:17
问题 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 each line of the given .dic file and generate every possible word of the each line with the provided .aff file How can i do that? I have installed NHunspell framework but it does not have that feature : https://www.nuget.org/packages/NHunspell/ For

hunspell: Printing the line number of the corrected word

白昼怎懂夜的黑 提交于 2019-12-10 15:20:41
问题 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 number of the word, which it predicts to be misspelled. So right now I am using the -a option, to be able to pipe it into hunspell . The man page says, that the -L option would "Print lines with misspelled words.". But I don't see any difference in the output. This is what I do right now: cat myessay.txt | hunspell -d en_US,de_DE -a -L An example output looks

NHunspell package on NuGet not referencing and being able to use on Xamarin Studio

人盡茶涼 提交于 2019-12-10 00:19:59
问题 So i'm kind of new to programming but i started using Xamarin and i tried to add NHunspell package from NuGet on Xamarin Studio, it downloads it and the .dlls appear in Resources and NHunspell appear in Packets, but it doesn't appear in References and so when i try "using NHunspell" it doesn't work. I have tried running the "install" script with Power Shell but apparently nothing changed. How do I add NHunspell to my project? 回答1: Not every .NET library is compatible with Xamarin. They

spell check in Rstudio

[亡魂溺海] 提交于 2019-12-08 16:39:34
问题 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 any indication (such as red make) on wrong spellings!! 回答1: RStudio does not have an as-you-type spell checker; you'll have to invoke spell checking manually. To do this, go to the Edit menu and choose Check Spelling, or press F7. Note that spell

hunspell / emacs on OS X 10.9

眉间皱痕 提交于 2019-12-08 00:33:27
问题 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]" "[']" t ("-d" "en_US" "-i" "utf-8") nil utf-8) ("american" "[A-Za-z]" "[^A-Za-z]" "[']" nil ("-d" "en_US") nil utf-8) ("english" "[A-Za-z]" "[^A-Za-z]" "[']" nil ("-d" "en_GB") nil utf-8) ("british" "[A-Za-z]" "[^A-Za-z]" "[']" nil ("-d" "en_GB") nil utf-8)

hunspell / emacs on OS X 10.9

谁说胖子不能爱 提交于 2019-12-06 07:23:28
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]" "[']" t ("-d" "en_US" "-i" "utf-8") nil utf-8) ("american" "[A-Za-z]" "[^A-Za-z]" "[']" nil ("-d" "en_US") nil utf-8) ("english" "[A-Za-z]" "[^A-Za-z]" "[']" nil ("-d" "en_GB") nil utf-8) ("british" "[A-Za-z]" "[^A-Za-z]" "[']" nil ("-d" "en_GB") nil utf-8) ("norsk" "[A-Za-zÉÆØÅéæøå]" "[^A-Za-zÉÆØÅéæøå]" "[\"]" nil ("-d" "nb_NO") "~list" utf-8))) (eval-after

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

醉酒当歌 提交于 2019-12-06 05:39:45
问题 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 and pros for both approach. For Google spell checker, it gives much more correct word for incorrect word but Hunspell gives several suggestions. And Google has up to date suggestions but Hunspell,it depends on Open Office dictionary. In my case, I need only one suggestion. For cons, I have to depend

NHunspell package on NuGet not referencing and being able to use on Xamarin Studio

烂漫一生 提交于 2019-12-04 21:00:36
So i'm kind of new to programming but i started using Xamarin and i tried to add NHunspell package from NuGet on Xamarin Studio, it downloads it and the .dlls appear in Resources and NHunspell appear in Packets, but it doesn't appear in References and so when i try "using NHunspell" it doesn't work. I have tried running the "install" script with Power Shell but apparently nothing changed. How do I add NHunspell to my project? Not every .NET library is compatible with Xamarin. They generally have to be either built against the appropriate Xamarin Framework, or build using a compatible PCL

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

我们两清 提交于 2019-12-04 10:58:45
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 and pros for both approach. For Google spell checker, it gives much more correct word for incorrect word but Hunspell gives several suggestions. And Google has up to date suggestions but Hunspell,it depends on Open Office dictionary. In my case, I need only one suggestion. For cons, I have to depend on Google for spell checking. If Google service is down, it will effect for my site too. So, what will

Working setup for hunspell in Emacs

喜欢而已 提交于 2019-12-04 10:38:16
问题 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 position: - 9631: word not found (my files are usually encoded in UTF-8) I've seen a few different setups, but they've all failed in one way or another. If the encoding works like it should it usually has problems finding the right dictionary.