GenI-0.24: A natural language generator (specifically, an FB-LTAG surface realiser)

Safe HaskellSafe-Inferred

NLP.GenI.Statistics

Synopsis

Documentation

type StatisticsState a = forall m. MonadState Statistics m => m aSource

addMetric :: Metric -> StatisticsState ()Source

Adds a metric at the beginning of the list (note we reverse the order whene we want to print the metrics)

data Metric Source

Constructors

IntMetric String Int 

Instances