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 Details

    • corrections

      private final List<String> corrections
  • Constructor Details

    • IncorrectExample

      public IncorrectExample(String example)
    • IncorrectExample

      public IncorrectExample(String example, List<String> corrections)
      Since:
      2.9
  • Method Details