Skip to main content

needs_multilingual

Function needs_multilingual 

Source
pub fn needs_multilingual(text: &str) -> bool
Expand description

Return whether more than 15% of alphabetic characters are non-ASCII.

Punctuation and digits do not dilute the ratio. ASCII-only non-English Latin remains undetected and uses the primary model. See crates/khive-pack-memory/docs/api/scoring.md.