Class IncorrectBitextExample


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

      • IncorrectBitextExample

        public IncorrectBitextExample​(StringPair example)
      • IncorrectBitextExample

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

      • getExample

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

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