Class TransducerSequenceConfidenceEstimator

    • Constructor Detail

      • TransducerSequenceConfidenceEstimator

        public TransducerSequenceConfidenceEstimator​(Transducer model)
    • Method Detail

      • estimateConfidenceFor

        public abstract double estimateConfidenceFor​(Instance instance,
                                                     java.lang.Object[] startTags,
                                                     java.lang.Object[] inTags)
        Calculates the confidence in the tagging of a Sequence.
      • rankInstancesByConfidence

        public InstanceWithConfidence[] rankInstancesByConfidence​(InstanceList ilist,
                                                                  java.lang.Object[] startTags,
                                                                  java.lang.Object[] continueTags)
        Ranks all Sequencess in this InstanceList by confidence estimate.
        ilist - list of segmentation instances
        startTags - represent the labels for the start states (B-) of all segments
        continueTags - represent the labels for the continue state (I-) of all segments
        array of InstanceWithConfidences ordered by non-decreasing confidence scores, as calculated by estimateConfidenceFor