Class ConfidenceEvaluator.EntityConfidence

  • Enclosing class:

    public static class ConfidenceEvaluator.EntityConfidence
    extends java.lang.Object
    a simple class to store a confidence score and whether or not this labeling is correct
    • Constructor Summary

      Constructor Description
      EntityConfidence​(double conf, boolean corr, Sequence input, int start, int end)  
      EntityConfidence​(double conf, boolean corr, java.lang.String text)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      double confidence()  
      boolean correct()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • EntityConfidence

        public EntityConfidence​(double conf,
                                boolean corr,
                                java.lang.String text)
      • EntityConfidence

        public EntityConfidence​(double conf,
                                boolean corr,
                                Sequence input,
                                int start,
                                int end)
    • Method Detail

      • confidence

        public double confidence()
      • correct

        public boolean correct()
      • toString

        public java.lang.String toString()
        toString in class java.lang.Object