Documentation
type Word a = Set aSource
A Word is represented by a set of observations.
data Dist a Source
A probability distribution defined over elements of type a.
All elements not included in the map have probability equal
to 0.
type WordL a b = (Word a, Dist b)Source
A WordL is a labeled word, i.e. a word with probability distribution
defined over labels.