org.languagetool.rules.bitext
Class IncorrectBitextExample

Object
  extended by 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

Constructor Summary
IncorrectBitextExample(StringPair example)
           
IncorrectBitextExample(StringPair example, String[] corrections)
           
 
Method Summary
 List<String> getCorrections()
          Return the possible corrections.
 StringPair getExample()
          Return the example that contains the error.
 String toString()
           
 
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IncorrectBitextExample

public IncorrectBitextExample(StringPair example)

IncorrectBitextExample

public IncorrectBitextExample(StringPair example,
                              String[] corrections)
Method Detail

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