public class XMLmindSpellChecker extends java.lang.Object implements SpellChecker
SpellCheckerManager
.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
REVISION |
Constructor and Description |
---|
XMLmindSpellChecker() |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
getLanguageList()
Returns a list of available languages for spell-checking.
|
java.util.List<SpellCheckResult> |
spellCheck(java.lang.String text,
java.lang.String lang)
Spell-check the specified text in the specified language
and return a list of SpellCheckResult.
|
public static final java.lang.String REVISION
public java.util.List<java.lang.String> getLanguageList()
getLanguageList
in interface SpellChecker
public java.util.List<SpellCheckResult> spellCheck(java.lang.String text, java.lang.String lang)
spellCheck
in interface SpellChecker
text
- the text to checklang
- the language of the text (ISO-639 code), never null or emptyCopyright © 2001-2017 Jalios SA. All Rights Reserved.