concraft-0.1.0: Morphosyntactic tagging tool based on constrained CRFs
NLP.Concraft.Morphosyntax
Synopsis
data Word t Source
A word parametrized over the tag type.
Constructors
Fields
Orthographic form.
Set of word interpretations.
Instances
type Sent t = [Word t]Source
A sentence of Words.
Word
type Choice t = Map t (Positive Double)Source
Interpretations chosen in the given context with corresponding positive weights.
data Positive a Source
Positive number.
(<+>) :: Num a => Positive a -> Positive a -> Positive aSource
mkPositive :: (Num a, Ord a) => a -> Positive aSource
best :: Choice t -> tSource
Retrieve the most probable interpretation.
known :: Word t -> BoolSource
A word is considered to be known when the set of possible interpretations is not empty.