|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SpellChecker
Method Summary | |
---|---|
void |
addWord(String word)
Notifies the SpellChecker that the user has requested a word be added to their custom dictionary. |
String |
autoCorrect(String word)
Queries for an auto-correction of a word. |
boolean |
correct(String word)
Queries if a word is spelt correctly. |
List<String> |
suggest(String word)
Basic "suggest corrections" method. |
Method Detail |
---|
boolean correct(String word)
word
-
List<String> suggest(String word)
word
-
void addWord(String word)
SpellerLoader.load(Collection)
rather than mutating that collection after the SpellChecker has loaded.
word
- String autoCorrect(String word)
suggest(String)
. This will result in undesirable behaviour for users. If your dictionary does not have an auto-correct feature,
return null every time.
word
-
|
Copyright (c) 2005-2012 Ephox Pty Ltd. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |