Class CommonDataStructures.SegmentTranslations

  • Enclosing class:
    CommonDataStructures

    public static class CommonDataStructures.SegmentTranslations
    extends Object
    Represents a single source segment and all its translations from various models.
    • Constructor Detail

      • SegmentTranslations

        public SegmentTranslations​(int segmentId,
                                   String sourceText,
                                   net.sf.okapi.common.resource.TextFragment sourceTf,
                                   Map<String,​String> translations)
    • Method Detail

      • getSegmentId

        public int getSegmentId()
      • getSourceText

        public String getSourceText()
      • getSourceTf

        public net.sf.okapi.common.resource.TextFragment getSourceTf()