Class IncorrectBitextExample

java.lang.Object
org.languagetool.rules.bitext.IncorrectBitextExample

public class IncorrectBitextExample extends Object
A text, typically a pair of sentences that contains an error.
Since:
1.0.1
  • Field Details

  • Constructor Details

    • IncorrectBitextExample

      public IncorrectBitextExample(StringPair example)
    • IncorrectBitextExample

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

    • getExample

      public StringPair getExample()
      Return the example that contains the error.
    • getCorrections

      public List<String> getCorrections()
      Return the possible corrections.
    • toString

      public String toString()
      Overrides:
      toString in class Object