spell-checking

How to change underlining color in a Rich Edit control (Win32/C)

与世无争的帅哥 提交于 2019-12-03 07:15:47
I’m looking for a way to make red squiggly underlining in a Rich Edit control (I’m using version 4.1 with Msftedit.dll). I’m able to produce squiggly underlining with this code : CHARFORMAT2 format; format.cbSize = sizeof(format); format.dwMask = CFM_UNDERLINETYPE; format.bUnderlineType = CFU_UNDERLINEWAVE; SendMessage(hWndEdit,EM_SETCHARFORMAT, SCF_SELECTION, (LPARAM)&format); The MSDN documentation doesn’t specify how to change the color of underlines, just the text (with underlines) and the text background. I’ve found some code that says to use the lower nibble for the underline type (CFU

Does Google allow other people to use their “Did you mean” API?

↘锁芯ラ 提交于 2019-12-03 06:44:01
I have been searching all over the Internet, but did not find that exact API. I'd like to use their Did You mean feature for my own website. Jason doSpellingSuggestion I believe is the api call. There is a good example here Update As people have noted, the link is broken. Here is a Wayback Machine's archived copy . Pygoogle has an api call for that http://pygoogle.sourceforge.net/dist/doc/public/google-module.html#doSpellingSuggestion >>> import google >>> google.LICENSE_KEY = '...' >>> google.doSpellingSuggestion('pithon') 'python' There's been a great Python example going around for awhile

How can I integrate spell-checking to redactor?

旧巷老猫 提交于 2019-12-03 06:05:03
How can I add spell checking to the jQuery Redactor editor? I have found a few spell checking JavaScript plugins, but none are easily integrated into Redactor. Has anyone managed to do this successfully? Using .NET, and need our own custom dictionary. None of these spell checkers I've found can be easily integrated: JavaScript SpellCheck WebSpellChecker (expensive) JQuery Spell Checker (uses Google spell check, no custom dictionary with .NET) badsyntax I'm the author of the jQuery SpellChecker you linked to. I have re-written the plugin and created a demo page showing how you can integrate it

TeXlipse spell-check configuration

不想你离开。 提交于 2019-12-03 05:16:11
I'm turning kind of desperate looking for a way to enable spell checking in TeXlipse. Of the application itself I am very fond. I've tried things I found here and on other forums, and on the user manual (http://texlipse.sourceforge.net/manual/spelling.html), but I can't find clear instructions to configure spell checking, i.e. what path directory to choose, where can I find .dict files,… I mean step-by-step instructions from the beginning to the end. The User Manual entry is too vague for me. I'm using Mac OS X 10.6.6, Eclipse 3.6.2, TeXlipse 1.4.1. The answers are in the manual: http:/

Creating a “spell check” that checks against a database with a reasonable runtime

≯℡__Kan透↙ 提交于 2019-12-03 03:15:28
问题 I'm not asking about implementing the spell check algorithm itself. I have a database that contains hundreds of thousands of records. What I am looking to do is checking a user input against a certain column in a table for all these records and return any matches with a certain hamming distance (again, this question's not about determining hamming distance, etc.). The purpose, of course, is to create a "did you mean" feature, where a user searches a name, and if no direct matches are found in

How to correct the user input (Kind of google “did you mean?”)

不想你离开。 提交于 2019-12-03 02:50:12
问题 I have the following requirement: - I have many (say 1 million) values (names). The user will type a search string. I don't expect the user to spell the names correctly. So, I want to make kind of Google "Did you mean". This will list all the possible values from my datastore. There is a similar but not same question here. This did not answer my question. My question: - 1) I think it is not advisable to store those data in RDBMS. Because then I won't have filter on the SQL queries. And I have

Enable Xcode's “Check Spelling While Typing” Option by Default

♀尐吖头ヾ 提交于 2019-12-03 02:03:16
Is there any way to enable Xcode's Check Spelling While Typing option on every Xcode project and file by default? Currently, I have to set this option on each file, and the option gets reset after closing Xcode. Option in question (Edit>Format>Spelling and Grammar>Check Spelling While Typing): Yes, you can change the default setting in System Preferences , then Language & Region and in Keyboard Preferences (Text tab) you can enable/disable Correct spelling automatically option. Tested under OS X - El Capitan . See also: Turn off Spell Checking permanently While I don't know a way to do this

Emacs cannot find flyspell/ispell

依然范特西╮ 提交于 2019-12-02 22:00:05
On my Mac (Snow Leopard, 10.6.8), I'm using a modified version of Emacs 24.2 provided here to utilize Emacs Speaks Statistics (ESS) from the downloads page . Emacs works, but I haven't yet been able to get a spell checker to work. To rectify this, I'm following the instructions from this page to download flyspell. I copied the flyspell.el file into my /Applications/Emacs.app/Contents/Resources/site-lisp directory, which is apparently the directory of my emacs load path (note that, for instance, the auctex.el file is located in that directory). Then, I modified my .emacs file by adding:

How to create a user dictionary in eclipse?

痞子三分冷 提交于 2019-12-02 21:37:29
When I use eclipse and see my name in the javadocs as the author, I also find the spellchecker marking my name as it does not understand that it is a proper name. Thus, I get the option of: Add {word} to dictionary but when I click on it, It says the user dictionary is missing and asks if I would like to create a new one. When I say yes, it just shows the spell checking preferences with a blank user dictionary field where I have the option to only add an existing user dictionary and no option to create a new one. How do I create the user dictionary so that I can configure it for use in eclipse

Separate word lists for nouns, verbs, adjectives, etc

本秂侑毒 提交于 2019-12-02 15:13:00
Usually word lists are 1 file that contains everything, but are there separately downloadable noun list, verb list, adjective list, etc? I need them for English specifically. See Kevin's word lists . Particularly the "Part Of Speech Database." You'll have to do some minimal text-processing on your own, in order to get the database into multiple files for yourself, but that can be done very easily with a few grep commands. The license terms are available on the "readme" page. Chilly If you download just the database files from wordnet.princeton.edu/download/current-version you can extract the