|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.umass.cs.mallet.base.fst.confidence.TransducerConfidenceEstimator
Abstract class that estimates the confidence of a Segment
extracted by a Transducer.
| Constructor Summary | |
TransducerConfidenceEstimator()
|
|
| Method Summary | |
double |
estimateConfidenceFor(Segment segment)
Calculates the confidence in the tagging of a Segment. |
abstract double |
estimateConfidenceFor(Segment segment,
Transducer.Lattice lattice)
|
java.util.Vector |
getSegmentConfidences()
|
Transducer |
getTransducer()
|
Segment[] |
rankSegmentsByConfidence(InstanceList ilist,
java.lang.Object[] startTags,
java.lang.Object[] continueTags)
Ranks all Segments in this InstanceList by
confidence estimate. |
Segment[] |
rankSegmentsByConfidence(Instance instance,
java.lang.Object[] startTags,
java.lang.Object[] continueTags)
ranks the segments in one Instance |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TransducerConfidenceEstimator()
| Method Detail |
public double estimateConfidenceFor(Segment segment)
Segment.
public abstract double estimateConfidenceFor(Segment segment,
Transducer.Lattice lattice)
public java.util.Vector getSegmentConfidences()
public Segment[] rankSegmentsByConfidence(InstanceList ilist,
java.lang.Object[] startTags,
java.lang.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 segments
Segments ordered by non-decreasing
confidence scores, as calculated by estimateConfidenceFor
public Segment[] rankSegmentsByConfidence(Instance instance,
java.lang.Object[] startTags,
java.lang.Object[] continueTags)
Instance
instance - 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 segments
Segments ordered by non-decreasing
confidence scores, as calculated by estimateConfidenceForpublic Transducer getTransducer()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||