public abstract class TransducerConfidenceEstimator extends Object implements Serializable
Segment
extracted by a Transducer.| Constructor and Description |
|---|
TransducerConfidenceEstimator() |
| Modifier and Type | Method and Description |
|---|---|
double |
estimateConfidenceFor(Segment segment)
Calculates the confidence in the tagging of a
Segment. |
abstract double |
estimateConfidenceFor(Segment segment,
Transducer.Lattice lattice) |
Vector |
getSegmentConfidences() |
Transducer |
getTransducer() |
Segment[] |
rankSegmentsByConfidence(InstanceList ilist,
Object[] startTags,
Object[] continueTags)
Ranks all
Segments in this InstanceList by
confidence estimate. |
Segment[] |
rankSegmentsByConfidence(Instance instance,
Object[] startTags,
Object[] continueTags)
ranks the segments in one
Instance |
public double estimateConfidenceFor(Segment segment)
Segment.public abstract double estimateConfidenceFor(Segment segment, Transducer.Lattice lattice)
public Vector getSegmentConfidences()
public Segment[] rankSegmentsByConfidence(InstanceList ilist, Object[] startTags, Object[] continueTags)
Segments in this InstanceList by
confidence estimate.ilist - list of segmentation instancesstartTags - represent the labels for the start states (B-)
of all segmentscontinueTags - represent the labels for the continue state
(I-) of all segmentsSegments ordered by non-decreasing
confidence scores, as calculated by estimateConfidenceForpublic Segment[] rankSegmentsByConfidence(Instance instance, Object[] startTags, Object[] continueTags)
Instanceinstance - instances to be segmentedstartTags - represent the labels for the start states (e.g. B-)
of all segmentscontinueTags - represent the labels for the continue state
(e.g. I-) of all segmentsSegments ordered by non-decreasing
confidence scores, as calculated by estimateConfidenceForpublic Transducer getTransducer()
Copyright © 2019 JULIE Lab, Germany. All rights reserved.