Class Summary |
AbstractCounter<E> |
Default implementations of all the convenience methods provided by
Counter . |
AccuracyStats<L> |
Utility class for aggregating counts of true positives, false positives, and
false negatives and computing precision/recall/F1 stats. |
ClassicCounter<E> |
A specialized kind of hash table (or map) for storing numeric counts for
objects. |
Counters |
Static methods for operating on Counter s. |
Distribution<E> |
Immutable class for representing normalized, smoothed discrete distributions
from Counters . |
GeneralizedCounter<K> |
A class for keeping double counts of List s of a
prespecified length. |
IntCounter<E> |
A specialized kind of hash table (or map) for storing numeric counts for
objects. |
MultiClassAccuracyStats<L> |
|
MultiClassChunkEvalStats |
Calculates phrase based precision and recall (similar to conlleval)
Handles various encodings such as IO, IOB, IOE, BILOU, SBEIO, []
Usage: java edu.stanford.nlp.stats.MultiClassChunkEvalStats [options] < filename
-r - Do raw token based evaluation
-d - Specifies delimiter to use (instead of tab)
-b - Boundary token (default is -X- )
-t - Default tag to use if tag is not prefixed (i.e. |
MultiClassPrecisionRecallExtendedStats<L> |
Extension of MultiClassPrecisionRecallStats that handles |
MultiClassPrecisionRecallExtendedStats.MultiClassStringLabelStats |
|
MultiClassPrecisionRecallExtendedStats.StringStringConverter |
|
MultiClassPrecisionRecallStats<L> |
|
SimpleGoodTuring |
Simple Good-Turing smoothing, based on code from Sampson, available at:
ftp://ftp.informatics.susx.ac.uk/pub/users/grs2/SGT.c
See also http://www.grsampson.net/RGoodTur.html |
TwoDimensionalCounter<K1,K2> |
A class representing a mapping between pairs of typed objects and double
values. |