Package org.languagetool.rules
Class IncorrectExample
- java.lang.Object
-
- org.languagetool.rules.ExampleSentence
-
- org.languagetool.rules.IncorrectExample
-
public final class IncorrectExample extends ExampleSentence
A text, typically a sentence, that contains an error.- Since:
- 0.9.2
-
-
Field Summary
-
Fields inherited from class org.languagetool.rules.ExampleSentence
example
-
-
Constructor Summary
Constructors Constructor Description IncorrectExample(String example)
IncorrectExample(String example, List<String> corrections)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
getCorrections()
Return the possible corrections.String
toString()
-
Methods inherited from class org.languagetool.rules.ExampleSentence
getExample
-
-
-
-
Method Detail
-
toString
public String toString()
- Overrides:
toString
in classExampleSentence
-
-