ltp 0.1.9

Language Technology Platform For Rust.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
pub mod perceptron;
pub mod utils;

pub use perceptron::{
    Algorithm, CWSDefinition, NERDefinition, POSDefinition, PaMode, Perceptron, Trainer,
};
#[cfg(feature = "serialization")]
pub use perceptron::{Codec, Format, ModelSerde, Reader, SerdeModel, SerdeCWSModel, SerdePOSModel, SerdeNERModel};

#[cfg(feature = "serialization")]
pub type CWSModel = SerdeCWSModel;
#[cfg(feature = "serialization")]
pub type POSModel = SerdePOSModel;
#[cfg(feature = "serialization")]
pub type NERModel = SerdeNERModel;