lindera_dictionary/
lib.rs1#[cfg(feature = "build_rs")]
2pub mod assets;
3pub mod builder;
4pub mod compress;
5pub mod decompress;
6pub mod dictionary;
7pub mod error;
8pub mod loader;
9pub mod macros;
10pub mod mode;
11pub mod nbest;
12pub mod util;
13pub mod viterbi;
14
15#[cfg(feature = "train")]
16pub mod trainer;
17
18pub type LinderaResult<T> = Result<T, crate::error::LinderaError>;
19
20const VERERSION: &str = env!("CARGO_PKG_VERSION");
21
22pub fn get_version() -> &'static str {
23 VERERSION
24}