Documentation of 'cc.mallet.fst.confidence.TransducerSequenceConfidenceEstimator' Java class
TransducerSequenceConfidenceEstimator
cc.mallet.fst.confidence

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.
        Parameters:
        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
        Returns:
        array of InstanceWithConfidences ordered by non-decreasing confidence scores, as calculated by estimateConfidenceFor

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.