|
Project Wonder 5.0.0.8787 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecter.extensions.components.javascript.ERXGoogleSpell.Correction
public static class ERXGoogleSpell.Correction
Correction encapsulates a suggested spelling correction for a word in a string of text.
| Constructor Summary | |
|---|---|
ERXGoogleSpell.Correction(int offset,
int length,
int confidence,
String[] suggestions)
Creates a new correction. |
|
| Method Summary | |
|---|---|
int |
confidence()
Returns the confidence of the correction (0 or 1). |
int |
length()
Returns the length of the misspelled word in the original text. |
int |
offset()
Returns the offset of the misspelled word in the original text. |
String[] |
suggestions()
Returns an ordered list of suggested spelling corrections. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ERXGoogleSpell.Correction(int offset,
int length,
int confidence,
String[] suggestions)
offset - the offset of the misspelled in the original textlength - the length of the misspelled word in the original textconfidence - the confidence of correction (0 or 1)suggestions - the list of suggested corrections| Method Detail |
|---|
public int offset()
public int length()
public int confidence()
public String[] suggestions()
|
Last updated: Wed, Jan 7, 2009 04:35 AM EST | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||