org.jscience.linguistics
Class Translation

java.lang.Object
  extended by org.jscience.linguistics.Translation

public abstract class Translation
extends java.lang.Object

The Translation class provides a means to


Constructor Summary
Translation(Text text, Language target)
          Creates a new Translation object.
 
Method Summary
 Language getTargetLanguage()
          DOCUMENT ME!
 Text getText()
          DOCUMENT ME!
abstract  Text getTranslatedText()
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Translation

public Translation(Text text,
                   Language target)
Creates a new Translation object.

Parameters:
text - DOCUMENT ME!
target - DOCUMENT ME!
Method Detail

getText

public Text getText()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getTargetLanguage

public Language getTargetLanguage()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getTranslatedText

public abstract Text getTranslatedText()
DOCUMENT ME!

Returns:
DOCUMENT ME!