upodesh 0.4.0

A Rust library for generating Bengali word suggestions based on a given input string.
Documentation
1
2
3
4
5
6
7
8
9
10
use once_cell::sync::Lazy;

use crate::fst::FstTree;

/// The FST containing the valid Bengali words for suggestions.
static WORDS: Lazy<FstTree<&[u8]>> = Lazy::new(|| FstTree::from_fst(include_bytes!("words.fst")));

pub mod avro;
pub mod bangla;
mod fst;