lindera_dictionary/
lib.rs

1#[cfg(feature = "build_rs")]
2pub mod assets;
3pub mod compress;
4pub mod decompress;
5pub mod dictionary;
6pub mod dictionary_builder;
7pub mod dictionary_loader;
8pub mod error;
9pub mod mode;
10pub mod util;
11pub mod viterbi;
12
13pub type LinderaResult<T> = Result<T, crate::error::LinderaError>;
14
15const VERERSION: &str = env!("CARGO_PKG_VERSION");
16
17pub fn get_version() -> &'static str {
18    VERERSION
19}