Expand description
§Lekhani Parser
Ultra-fast, zero-allocation pure Rust Bengali phonetic grammar parser and transliterator.
High-performance replacement for rupantor with Longest-Prefix L1 Trie matching,
branchless byte-level condition evaluations, and canonical diacritic sequencing.
Re-exports§
pub use compiler::CompiledLayout;pub use engine::LekhaniParser;pub use rule::ConditionScope;pub use rule::MatchType;pub use rule::Pattern;pub use rule::PatternRule;pub use rule::RuleCondition;
Modules§
- compiler
- Layout JSON Compiler for Phonetic Parser
- engine
- Zero-Allocation High-Speed Phonetic Parsing Engine
- rule
- Phonetic Rule and Condition Data Structures
- tables
- ASCII Character Classification and Normalization Tables
- trie
- Compact L1 Prefix Trie for Fast Phonetic Pattern Matching
Functions§
- default_
avro_ parser - Create a new
LekhaniParserwith the default Avro Phonetic layout. - get_
default_ avro_ layout - Retrieve or initialize the shared singleton of the compiled default Avro layout.