Safe Haskell | None |
---|
Documentation
tag :: Model -> Xs -> [Cb]Source
Find the most probable label sequence satisfying the constraints imposed over label values.
expectedFeatures :: Model -> Xs -> [(Feat, LogFloat)]Source
A list of features (represented by feature indices) defined within the context of the sentence accompanied by expected probabilities determined on the basis of the model.
One feature can occur multiple times in the output list.
accuracy :: Model -> [(Xs, Ys)] -> DoubleSource
Compute the accuracy of the model with respect to the labeled dataset.