Package org.languagetool.rules.bitext
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
-
-
Constructor Summary
Constructors Constructor Description IncorrectBitextExample(StringPair example)
IncorrectBitextExample(StringPair example, List<String> corrections)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
getCorrections()
Return the possible corrections.StringPair
getExample()
Return the example that contains the error.String
toString()
-
-
-
Constructor Detail
-
IncorrectBitextExample
public IncorrectBitextExample(StringPair example)
-
IncorrectBitextExample
public IncorrectBitextExample(StringPair example, List<String> corrections)
- Since:
- 2.9
-
-