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

NLP.GenI.Statistics

Synopsis

Documentation

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

type StatisticsStateIO a = forall m. (MonadState Statistics m, MonadIO m) => m aSource

addMetric :: Metric -> StatisticsState ()Source

Adds a metric at the end of the list (thus, metrics are printed out in the order in which they were added

addInspectionMetric :: Metric -> StatisticsState ()Source

Adds a metric that will be printed out at regular intervals

data Metric Source

Constructors

IntMetric String Int 

Instances