Class VertexQualityEstimator
- java.lang.Object
-
- com.acumenvelocity.ath.mt.confidence.VertexQualityEstimator
-
- All Implemented Interfaces:
AutoCloseable
public class VertexQualityEstimator extends Object implements AutoCloseable
-
-
Constructor Summary
Constructors Constructor Description VertexQualityEstimator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()VertexDataStructures.TranslationComparisonResultevaluateMultiModelTranslations(List<CommonDataStructures.SegmentTranslations> segments, String sourceLang, String targetLang)VertexDataStructures.ScoredSegmentTranslationsevaluateSegment(CommonDataStructures.SegmentTranslations seg)
-
-
-
Constructor Detail
-
VertexQualityEstimator
public VertexQualityEstimator() throws IOException- Throws:
IOException
-
-
Method Detail
-
evaluateMultiModelTranslations
public VertexDataStructures.TranslationComparisonResult evaluateMultiModelTranslations(List<CommonDataStructures.SegmentTranslations> segments, String sourceLang, String targetLang) throws IOException
- Throws:
IOException
-
evaluateSegment
public VertexDataStructures.ScoredSegmentTranslations evaluateSegment(CommonDataStructures.SegmentTranslations seg)
-
close
public void close()
- Specified by:
closein interfaceAutoCloseable
-
-