Technical details

  • Packaging: Win32 STDCALL DLLs

  • Performance: Checks spelling of over 350,000 words per second (2.7 microseconds per word) on average hardware

  • DLL Size: 280K

  • Dictionary file size: Average of .5Mb per language

  • Run-time memory requirements: Typically .5Mb - 1.0 Mb

  • Operating systems supported: Win9x, Win NT, Win2000, WinXP (i.e., all 32-bit Windows operating systems)

The Spellex Spelling-Checker Engine's API provides direct, straightforward calling from C, C++, Visual Basic, VB.NET, C#, Delphi, MFC, and other DLL-enabled applications. Only simple data types (integers and character strings) are used in the API. All the constants, data types, and function prototypes you will need are contained within a single include file. The Spellex DLL is self-contained and is not dependent on any other DLLs.

Application Program Interface (API) Summary

CheckCtrlBackground
Monitors a rich-edit control (CRichEditCtrl, TRichEdit, RichTextBox) for spelling errors as the user types. Misspelled words are changed to red, and corrected words are changed back to black. Right-clicking the mouse over a misspelled word pops up a menu containing suggested replacements. Selecting one of the suggestions in the menu replaces the misspelled word.

CheckCtrlDlg
Checks the spelling of text contained in a text box or rich-text box, identified by a window handle. If any misspelled words are detected, CheckCtrlDlg highlights the misspelled word in the text box and pops up a built-in dialog box to interact with the user to dispose of the problem. This powerful function makes it possible to add a spell checker to your application with just one statement!

CheckBlockDlg
Checks the spelling of text contained in a string or character array (a text block). If any misspelled words are detected, CheckBlockDlg pops up a built-in dialog box to interact with the user to dispose of the problem. CheckBlockDlg can optionally display the checked string so the user can see the misspelled word in context. CheckBlockDlg makes it possible to add a spell checker to any application with just one statement!

CheckString
Checks the spelling of words in a text string: a phrase, sentence, paragraph, or an entire document. CheckString is non-interactive, meaning it reports misspelled words back to your application without interacting with the user. CheckString returns to your application when it finds the next misspelled word in the text or when it reaches the end of the text. CheckString also reports incorrectly capitalized words and words requiring automatic or conditional correction.

CheckWord
Like CheckString, but spell checks one word at a time. Your application would use CheckString to check the spelling of a single word without interacting with the user.

Suggest
Locates suggested alternative spellings for a misspelled word. Also produces a score, expressed as a percentage, showing the degree of correlation for each alternative word found. The set of words is returned in order of decreasing score, so the first word is the likely choice. Suggestions can be located using typographical (looks like) or phonetic (sounds like) matching, or both.

ReplaceStringWord, DelStringWord
Replace one word in a text string with another (used to correct misspellings), or delete a word in a text string (used to delete doubled words).

AddToLex, DelFromLex
Adds or removes words to or from user dictionaries.

GetLexInfo, GetLex
Obtains information about a dictionary, or obtains a copy of its contents.

GetStatistics
Returns statistics about the last text block or control spell checked, including the number of words checked and the number of word replacements made.

EditLexDlg
Displays a dialog box which allows the user to manage a set of user dictionaries and to edit the contents of any user dictionary. Users can open, close, and create new user dictionary files.

OptionsDlg
Displays a dialog box which allows the user to set spelling-checker options.

CompressLexInit
CompressLexFile, CompressLexEnd Creates a new compressed dictionary from words contained in one or more word list files.

 

Properties >>  

Home | Order Now | Products | Upgrades | Free Trial | Partners | About Spellex | Contact Us | Site Map | Privacy Policy

Spellex Corporation © 2008. All rights reserved