diff --git a/src/lib.rs b/src/lib.rs index b5df6bb..5b9ea99 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -7,6 +7,7 @@ use smartstring::alias::String; #[cfg(feature = "__test_data")] pub mod test_data; +/// Central data structure used to calculate word probabilities pub struct Segmenter { unigrams: HashMap, bigrams: HashMap<(String, String), f64>,