| Safe Haskell | None |
|---|
NLP.Nerf
Description
Main module of the Nerf tool.
Documentation
A Nerf consists of the observation schema configuration and the CRF model.
Constructors
| Nerf | |
Fields
| |
Arguments
| :: 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 -> [Word] -> NeForest NE WordSource
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