public class GrammarError extends Object
getStartPos() and consisting of
getErrorLen() characters.| Constructor and Description |
|---|
GrammarError(int errorCode,
int startPos,
int errorLen,
List<String> suggestions) |
| Modifier and Type | Method and Description |
|---|---|
int |
getErrorCode()
Error code describing the type of error.
|
int |
getErrorLen() |
int |
getStartPos() |
List<String> |
getSuggestions() |
String |
toString() |
public int getErrorCode()
Voikko.grammarErrorExplanation(int, String)
to get a human readable explanation for the error.public int getStartPos()
public int getErrorLen()
public List<String> getSuggestions()
Copyright © 2013 Voikko developers. All Rights Reserved.