Safe Haskell | None |
---|
- data Guesser t = Guesser {
- schemaConf :: SchemaConf
- crf :: CRF Ob t
- guess :: (Word w, Ord t) => Int -> Guesser t -> Sent w t -> [[t]]
- include :: (Word w, Ord t) => (Sent w t -> [[t]]) -> Sent w t -> Sent w t
- guessSent :: (Word w, Ord t) => Int -> Guesser t -> Sent w t -> Sent w t
- data TrainConf = TrainConf {}
- train :: (Word w, Ord t) => TrainConf -> [Sent w t] -> Maybe [Sent w t] -> IO (Guesser t)
Types
A guessing model.
Guesser | |
|
Guessing
guess :: (Word w, Ord t) => Int -> Guesser t -> Sent w t -> [[t]]Source
Determine k
most probable labels for each word in the sentence.
include :: (Word w, Ord t) => (Sent w t -> [[t]]) -> Sent w t -> Sent w tSource
Insert guessing results into the sentence.
Training
Training configuration.