Skip to main content

detect_script

Function detect_script 

Source
pub fn detect_script(text: &str) -> String
Expand description

Dominant script: "latin", "han", … or "unknown" when there are no letters.