Skip to main content

Crate lindera_trainer

Crate lindera_trainer 

Source
Expand description

CRF-based dictionary training for Lindera.

This crate implements the training pipeline (lindera train), producing a serialized model that lindera export turns into MeCab-format dictionary source files, which lindera build then compiles into a binary dictionary. It builds on the runtime types of lindera_dictionary and the CRF core of lindera_crf.

Re-exports§

pub use self::config::TrainerConfig;
pub use self::corpus::Corpus;
pub use self::corpus::Example;
pub use self::corpus::Word;
pub use self::model::Model;
pub use self::model::SerializableModel;

Modules§

config
corpus
feature_extractor
feature_rewriter
model

Structs§

Trainer
CRF-based morphological analysis trainer for Japanese text