hunspell

Spell checking a file using command line, non-interactively

和自甴很熟 提交于 2019-12-04 01:54:05
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 according to my searches all of them work in an interactive manner. I mean, seeing a miss/bad-spelled word, they suggest some corrections to the user and he/she should choose one of them. Since my file is rather large, and contains many wrong words, I can't edit it in this manner. I am looking for a way to tell the spell-checker that replace all the wrong words using the first candidate. Is there any way

Emacs Windows spellcheck - aspell or hunspell

。_饼干妹妹 提交于 2019-12-03 12:31:02
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 windows xp and please help me out. I use aspell for spellchecking with emacs on Windows. Looking at my .emacs file I can see these configuration variables. (custom-set-variables '(ispell-dictionary "british") '(ispell-program-name "H:\\bin\\aspell\\bin\\aspell.exe")) I installed aspell with the installation wizard. M-S-$ ispell-buffer flyspell-mode and the like all work correctly for me. aspell can be

Working setup for hunspell in Emacs

☆樱花仙子☆ 提交于 2019-12-03 06:20:11
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. Anyone with a working solution? It would be nice to be able to switch between two dictionaries (the