Class HybridDataStructures.HybridTranslationScore

  • Enclosing class:
    HybridDataStructures

    public static class HybridDataStructures.HybridTranslationScore
    extends Object
    Represents a single translation with combined scores from all estimators.
    • Constructor Detail

      • HybridTranslationScore

        public HybridTranslationScore​(String modelId,
                                      String translation,
                                      double confidence,
                                      Double metricXScore,
                                      Double cometScore,
                                      Double heuristicScore,
                                      String method)
    • Method Detail

      • flagAnomaly

        public void flagAnomaly​(String reason)
      • getModelId

        public String getModelId()
      • getTranslation

        public String getTranslation()
      • getConfidence

        public double getConfidence()
      • getMetricXScore

        public Double getMetricXScore()
      • getCometScore

        public Double getCometScore()
      • getHeuristicScore

        public Double getHeuristicScore()
      • getMethod

        public String getMethod()
      • isAnomalyFlagged

        public boolean isAnomalyFlagged()
      • getAnomalyReason

        public String getAnomalyReason()