Wintertree Software Inc.

Sentry Spelling Checker Engine - Support

Home Site index Contact us Catalog Shopping Cart Products Support Search

You are here: Home > Support > Sentry Spelling Checker Engine

Problems using WinSqLex

Product: Sentry Spelling Checker Engine Windows SDK

Problem: WinSqLex reports Error -24 when you attempt to compress a word list.

Solution: Error -24 means WinSqLex couldn't open a file. WinSqLex stores file names relative to the project file (.wsl). If the project file and lexicon files exist in two different directories and are subsequently moved, WinSqLex may be unable to open a file. We recommend that the WinSqLex project file and lexicon files be kept in the same directory.

Problem: WinSqLex reports Error -20 when you attempt to compress a word list.

Solution: Error -20 means a word was duplicated or out of sequence. The word list must be in the order defined by the ISO-8859-1 character set. This means characters with accents or diacritical marks (e.g., å or ñ) sort higher than characters without accents or diacritical marks, because the numerical value of accented characters is higher than that of unaccented characters. For example, here is the correct ordering of various forms of "A":

A
a
À
Á
Â
Ã
Ä
Å
à
á
â
ã
ä
å

Sometimes spaces or tab characters at the end of a word can also cause the -20 error.

The -20 error will also occur if a file previously compressed by SqLex contained words starting with the same letters as a word in the current file. For example, if file A.TXT contains the following:

azalea
azaleas
azimuth
azimuths
millennia

and M.TXT contains the following:

migrator
mike
mildew

A -20 error will be flagged at line 3 of M.TXT (mildew) because a word starting with the same three letters was already encountered in a previous file (line 5 of A.TXT). The solution is to move the out-of-place word (millennia) from A.TXT to its proper place in the M.TXT file.


Home Site index Contact us Catalog Shopping Cart Products Support Search


Copyright © 2015 Wintertree Software Inc.