Skip to main content

normalize

Function normalize 

Source
pub fn normalize(surface: &str, _ty: &EntityTypeRef) -> String
Expand description

Normalize a surface form: NFKC, casefold, collapse whitespace. Honorifics/suffixes per entity type are registry data (§7.6) and stripped when configured; normalization is always script-neutral (P11).