org.languagetool.rules.bitext
Class IncorrectBitextExample
Object
IncorrectBitextExample
public class IncorrectBitextExample
- extends Object
A text, typically a pair of sentences that contains an error.
- Since:
- 1.0.1
- Author:
- Marcin MiĆkowski
| Methods inherited from class Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
IncorrectBitextExample
public IncorrectBitextExample(StringPair example)
IncorrectBitextExample
public IncorrectBitextExample(StringPair example,
String[] corrections)
getExample
public StringPair getExample()
- Return the example that contains the error.
getCorrections
public List<String> getCorrections()
- Return the possible corrections. May be null.
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2005-2011 Daniel Naber