varna 1.0.0

Varna — multilingual language engine: phoneme inventories, G2P rules, scripts, grammar, and lexicon for 50+ languages
Documentation
//! Varna — Multilingual Language Engine
//!
//! **Varna** (Sanskrit: वर्ण — letter, character, sound) provides a structured,
//! queryable corpus of human language data. Phoneme inventories, grapheme-to-phoneme
//! rules, writing system metadata, grammar structures, and lexicon access for
//! 50+ languages.
//!
//! # Architecture
//!
//! Six modules:
//!
//! - [`phoneme`] — IPA phoneme inventories per language, phonological features
//!   (manner, place, voicing), stress/tone patterns, builder pattern,
//!   allophone rules, syllable structure, phonotactic constraints
//! - [`script`] — Writing system metadata: alphabet, syllabary, logographic,
//!   abjad, abugida. Unicode ranges, directionality, lookup by ISO 15924 code,
//!   transliteration tables, numeral system mappings
//! - [`grammar`] — Morphological typology (isolating, agglutinative, fusional),
//!   word order (SVO/SOV/VSO), case systems
//! - [`lexicon`] — Core vocabulary per language (Swadesh lists, frequency-ranked
//!   word lists)
//! - [`registry`] — Language registry: look up phoneme inventories and scripts
//!   by ISO 639 code
//! - [`dialect`] — Language variety overlays: regional dialects, national
//!   standards, phoneme add/remove relative to parent language
//!
//! # Relationship to Other Crates
//!
//! ```text
//! varna (this) — language structure & phoneme inventories
//!   ↓ provides phoneme sets per language
//! shabda — G2P conversion (currently English-only, varna makes it multilingual)
//!   ↓ produces phoneme sequences
//! shabdakosh — pronunciation dictionary (currently CMUdict, varna adds IPA dicts)
//!   ↓ lookup fallback
//! svara — vocal synthesis (consumes phonemes, produces audio)
//!   ↓ voice output
//! dhvani — audio engine (mixing, DSP, output)
//! ```
//!
//! Also feeds:
//! - **jnana** — multilingual knowledge access
//! - **vidya** — programming concepts explained in native languages
//! - **vansh** (planned) — voice assistant with multilingual TTS/STT
//! - **sahifa** (planned) — OCR language detection, multilingual document processing

pub mod dialect;
pub mod error;
pub mod grammar;
pub mod lexicon;
pub mod phoneme;
pub mod registry;
pub mod script;

#[cfg(feature = "logging")]
pub mod logging;

#[cfg(feature = "mcp")]
pub mod mcp;

#[cfg(feature = "daimon")]
pub mod daimon;

#[cfg(feature = "hoosh")]
pub mod hoosh;

pub use error::VarnaError;