lindera_dictionary/
lib.rs

1#[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 util;
12pub mod viterbi;
13
14#[cfg(feature = "train")]
15pub mod trainer;
16
17pub type LinderaResult<T> = Result<T, crate::error::LinderaError>;
18
19const VERERSION: &str = env!("CARGO_PKG_VERSION");
20
21pub fn get_version() -> &'static str {
22    VERERSION
23}