Class ExampleSentence

java.lang.Object
org.languagetool.rules.ExampleSentence
Direct Known Subclasses:
CorrectExample, ErrorTriggeringExample, IncorrectExample

public abstract class ExampleSentence extends Object
Since:
3.5
  • Field Details

    • example

      protected final String example
  • Constructor Details

    • ExampleSentence

      public ExampleSentence(String example)
  • Method Details

    • getExample

      public String getExample()
      Return the example, typically one sentence.
    • toString

      public String toString()
      Overrides:
      toString in class Object