
Public Member Functions | |
| int | confidence () |
| Correction (int offset, int length, int confidence, String[] suggestions) | |
| int | length () |
| int | offset () |
| String[] | suggestions () |
Private Attributes | |
| int | _confidence |
| int | _length |
| int | _offset |
| String[] | _suggestions |
| Correction | ( | int | offset, | |
| int | length, | |||
| int | confidence, | |||
| String[] | suggestions | |||
| ) |
Creates a new correction.
| offset | the offset of the misspelled in the original text | |
| length | the length of the misspelled word in the original text | |
| confidence | the confidence of correction (0 or 1) | |
| suggestions | the list of suggested corrections |
| 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.
int _confidence [private] |
int _length [private] |
int _offset [private] |
String [] _suggestions [private] |
1.5.8