Class Translation

java.lang.Object
org.episteme.social.linguistics.Translation

public abstract class Translation extends Object
The Translation class provides biological and linguistic translation support.
Since:
1.0
Version:
1.1
Author:
Silvere Martin-Michiellot
  • Constructor Details

    • Translation

      public Translation(Text text, Language target)
      Creates a new Translation object.
      Parameters:
      text - the source text
      target - the target language
  • Method Details

    • getText

      public Text getText()
      Returns the source text of this translation.
      Returns:
      the source text
    • getTargetLanguage

      public Language getTargetLanguage()
      Returns the target language of this translation.
      Returns:
      the target language
    • getTranslatedText

      public abstract Text getTranslatedText()
      Returns the translated version of the text.
      Returns:
      the translated text