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 macros;
10pub mod mode;
11pub mod util;
12pub mod viterbi;
13
14pub type LinderaResult<T> = Result<T, crate::error::LinderaError>;
15
16const VERERSION: &str = env!("CARGO_PKG_VERSION");
17
18pub fn get_version() -> &'static str {
19    VERERSION
20}