Safe Haskell | None |
---|---|
Language | Haskell2010 |
Main module of the Nerf tool.
Documentation
A Nerf consists of the observation schema configuration and the CRF model.
Nerf | |
|
:: SgdArgs | Args for SGD |
-> SchemaConf | Observation schema configuration |
-> FilePath | Train data (ENAMEX) |
-> Maybe FilePath | Maybe eval data (ENAMEX) |
-> IO Nerf | Nerf with resulting codec and model |
Train Nerf on the input data using the SGD method.
ner :: Nerf -> String -> NeForest NE Word Source #
Perform named entity recognition (NER) using the Nerf.
tryOx :: SchemaConf -> FilePath -> IO () Source #
Show results of observation extraction on the input ENAMEX file.
module NLP.Nerf.Types