| Description | Uses | Classes, Interfaces, Objects and Records | Functions and Procedures | Types | Constants | Variables |
Component wrapper for Hunspell <http://hunspell.sourceforge.net/>
THunSpell Copyright (C) 2010, Stefan Ascher
Hunspell is the spell checker used by OpenOffice.org (LibreOffice???) and Mozilla (Firefox, Thunderbird etc.).
Get Dictionaries from <http://wiki.services.openoffice.org/wiki/Dictionaries>. It seems that the *.oxt files are ordinary ZIP files, you can open them with e.g. 7-Zip <http://www.7-zip.org/> and extract the files to the dictionary directory.
$Id: HunSpell.pas,v 1.7 2011/01/24 06:58:25 Stefan Ascher Exp $
| Name | Description |
|---|---|
Class THunSpell |
procedure Register; |
function IsSeparator(const AChar: Char): boolean; |
function StripQuotes(const AWord: string): string; |
THUNSPELL_VERSION = '1.11'; |
DIC_EXT = '.dic'; |
AFF_EXT = '.aff'; |
CUSTOM_NAME = 'custom.dic'; |
SEPARATOR_CHARS = ['.', ';', ',', ':', '¡', '!', '·', '"', 'ˆ', '+', '-', '*',
'/', '\', '¨', ' ', #9, '`', '[', ']', '(', ')', 'º', 'ª', '{', '}', '?', '¿', '%',
'=', '<', '>', '$', '@', '|', '˜']; |
CP_ISOLATIN1 = 28591; |
CP_WINLATIN1 = 1252; |
procedure Register; |
function IsSeparator(const AChar: Char): boolean; |
|
Check if a character is a separator. Parameters
Returns
|
function StripQuotes(const AWord: string): string; |
|
Strip single quotes from a string. Parameters
ReturnsAWord without single quotes. |
THUNSPELL_VERSION = '1.11'; |
DIC_EXT = '.dic'; |
|
Extension of dic files |
AFF_EXT = '.aff'; |
|
Extension of aff files |
CUSTOM_NAME = 'custom.dic'; |
|
Name of custom dictionary |
CP_ISOLATIN1 = 28591; |
CP_WINLATIN1 = 1252; |
02-10-2010
2011/01/24 06:58:25 UTC