nerf-0.5.0: Nerf, the named entity recognition tool based on linear-chain CRFs
NLP.Nerf.Compare
Description
Compare two NE-annotated datasets.
Synopsis
data Stats Source
Statistics.
Constructors
Fields
false positive
true positive
false negative
true negative
Instances
(.+.) :: Stats -> Stats -> StatsSource
Add stats.
compare :: Ord a => [(NeForest a Text, NeForest a Text)] -> Map a StatsSource
Compare two NE-annotated datasets. The function assumes, that forest pairs correspond to the same sentences.