crfs 0.4.0

Pure Rust port of CRFsuite: a fast implementation of Conditional Random Fields (CRFs)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Training module for CRF models
//!
//! This module contains all the components needed to train CRF models,
//! including feature generation, optimization, and model serialization.

mod crf_context;
mod dictionary;
mod feature_gen;
mod model_writer;
mod trainer;

// Re-export public types
pub use self::trainer::{
    Arow, ArowParams, AveragedPerceptron, AveragedPerceptronParams, L2Sgd, L2SgdParams, Lbfgs,
    LbfgsParams, LineSearchAlgorithm, PaType, PassiveAggressive, PassiveAggressiveParams, Trainer,
};