Package org.languagetool.rules
Class IncorrectExample
java.lang.Object
org.languagetool.rules.ExampleSentence
org.languagetool.rules.IncorrectExample
A text, typically a sentence, that contains an error.
- Since:
- 0.9.2
-
Field Summary
FieldsFields inherited from class org.languagetool.rules.ExampleSentence
example
-
Constructor Summary
ConstructorsConstructorDescriptionIncorrectExample
(String example) IncorrectExample
(String example, List<String> corrections) -
Method Summary
Methods inherited from class org.languagetool.rules.ExampleSentence
getExample
-
Field Details
-
corrections
-
-
Constructor Details
-
IncorrectExample
-
IncorrectExample
- Since:
- 2.9
-
-
Method Details
-
getCorrections
Return the possible corrections. -
toString
- Overrides:
toString
in classExampleSentence
-