aspell

How to use special chars on aspell custom dictionary?

佐手、 提交于 2019-12-22 05:34:14
问题 I'm building a "did you mean" funcionality on an internal search engine, using aspell and php (php-pspell). I have a catalog of products and I want the names of those products to be also words in the dictionary so the "did you mean" can suggest'em. The problem is that when I try to create a custom dictionary with PHP Pspell functions, I receive errors when the words contain characters that are not in the a-z range, as numbers, hifens, etc. For example: iphone 3gs: iphone is added smoothly,

Spell checking a file using command line, non-interactively

吃可爱长大的小学妹 提交于 2019-12-21 07:55:39
问题 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

Emacs Windows spellcheck - aspell or hunspell

半城伤御伤魂 提交于 2019-12-21 04:08:16
问题 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. 回答1: 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

How can I use Aspell with R with a specific language?

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-12 20:23:58
问题 I have installed Aspell from the full installer here http://aspell.net/win32/, and I also installed the french extention. Everything is now in D:\Aspell, and the french extention is here D:\Aspell\dict, I added these paths and also D:\Aspell\bin and D:\Aspell\doc to my environment path so when I use the aspell function in R, R now recognizes the function. But it seems that it is looking for some US dictionary that I haven't, but that I don't want to use anyway. How can I tell him to use the

how to get GNU Emacs spellcheck to find user's personal dictionary on OSX?

二次信任 提交于 2019-12-12 19:08:47
问题 I switched from Aquamacs to GNU Emacs. Before, when Aquamacs thought a word was misspelled, I could right-click to "Learn Spelling." (I also had an option to Ignore Spelling to get it to unflag the word for that buffer only.) In GNU Emacs, I'm using flyspell-mode with ispell, with aspell as the dictionary. But I notice that the words I previously added to my dictionary (e.g. my name) are getting flagged as misspelled. How do I get GNU Emacs to find and use the personal word list I've already

Aspell won't build on OS X 10.9 (Mavericks)

浪子不回头ぞ 提交于 2019-12-12 14:53:31
问题 It fails thus: ./common/errors.hpp:17:36: error: redefinition of 'aerror_other' with a different type: 'const acommon::ErrorInfo *const' vs 'const struct AspellErrorInfo *const' I've seen this error mentioned several times, but I've not seen any fixes. I suppose I could install Fink or MacPorts, but my experience with both of those has been mixed (and frustrating), and it seems like overkill for just one program. Is there a way to get aspell to build, or is Fink or MacPorts the only practical

Interactive Spell Checking Programs Available for emacs

南楼画角 提交于 2019-12-12 11:50:44
问题 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 Australian dictionary and not English US dictionary or freezes up my system. With aspell I have no problem switching dictionaries or running flyspell mode. My question is how do people have setup interactive spelling in emacs24?? Still using ispell and flyspell or any other setups preferred. Are

Emacs - Kieran Healy's Emacs Starter Kit aspell English dictionery

淺唱寂寞╮ 提交于 2019-12-11 18:46:28
问题 I am having some (more) difficulties getting my emacs config to work. I want to use Flyspell automatic spell checking. When I try to enable automatic spell checking (via the menu bar), I get the following error. Starting new Ispell process aspell with english dictionary... Error enabling Flyspell mode: (Error: The file "/usr/local/lib/aspell-0.60/english" can not be opened for reading.) A quick look at /usr/local/lib/aspell-0.60/ reveals that I have no English dictionary installed. More fully

Why does aspell suggest the very word that it fails to check?

久未见 提交于 2019-12-11 18:23:44
问题 Here is the command I run: > echo "civilization" | aspell -a @(#) International Ispell Version 3.1.20 (but really Aspell 0.60.6.1) & civilization 3 0: civilization, civilizations, civilization's Why does aspell suggest the very word ("civilization") but fails to check its spelling? In contrast, hunspell seems to get this right > echo "civilization" | hunspell Hunspell 1.3.2 * but that is probably because the two spell checkers use different dictionaries. EDIT: Running this on a different

Aspell Spell Checker on iPhone?

混江龙づ霸主 提交于 2019-12-06 14:03:27
I've managed to compile the aspell as a static library for iPhone. I've the libaspell.a file and included it in my xcode project as a framework. Does anybody know how to use their c/c++ api for iphone? Is there any sample or example somewhere on the net? Thank you for any feedback in advance, John Looks to me like you just need to look closer at the documentation. Here is the C API documentation: http://aspell.net/man-html/Through-the-C-API.html#Through-the-C-API In that doc it says: 6.1.3 Examples Two simple examples are included in the examples directory. The example-c program demonstrates