concraft-0.9.3: Morphological disambiguation based on constrained CRFs

Safe HaskellNone

NLP.Concraft.Morphosyntax.Accuracy

Contents

Description

Accuracy statistics.

Synopsis

Stats

data Stats Source

Statistics.

Constructors

Stats

Number of segments in gold corpus

Fields

good :: Int

Number of correct tags

gold :: Int
 

accuracy :: Stats -> DoubleSource

Accuracy given stats.

Accuracy

weakLB :: Word w => Tagset -> [Seg w Tag] -> [Seg w Tag] -> StatsSource

Accuracy weak lower bound.

weakUB :: Word w => Tagset -> [Seg w Tag] -> [Seg w Tag] -> StatsSource

Accuracy weak upper bound.

strongLB :: Word w => Tagset -> [Seg w Tag] -> [Seg w Tag] -> StatsSource

Accuracy strong lower bound.

strongUB :: Word w => Tagset -> [Seg w Tag] -> [Seg w Tag] -> StatsSource

Accuracy strong upper bound.