Sentry Spelling Checker Engine Java SDK - Tips and Hints
You
are here: Home > Support
> Sentry Spelling Checker Engine > Java
SDK
This document contains various tips and hints for using SSCE effectively.
-
If you want to check text in two or more languages, don't open
dictionaries for both languages at the same time. Having dictionaries
for two languages open at once increases the probability that a
misspelled word in one language will match a valid word in the other
language, and therefore will not be detected. Also, having two main
dictionaries open at once will increase the time required to check
spelling and look up suggestions. Instead, construct two (or more)
SpellingSession objects, and open the dictionary for one language in
each session. At run time, use the appropriate SpellingSession object
to check text based on the text's language. Alternatively, close the
dictionary files for the first language then open the dictionary
files for the second. Note that this does not apply to Wintertree's
medical or legal dictionaries: the medical or legal dictionaries are
supplements to the English dictionary and can be opened at the same
time as the English dictionary.
-
Don't open ssceam.tlx, ssceca.tlx, or sscebr.tlx as a user
dictionary. Although these files are text lexicons and technically can
be used as user dictionaries, they are not intended to be used this
way. These files should be opened as part of the main American or UK
English dictionary. This applies to the sscexx.utlx and sscexx.tlx
files included with dictionaries for other languages as well. |
Site index:
|