pub(crate) fn apply_transform(
headword: &str,
needs_char_filter: bool,
needs_lowercase: bool,
) -> StringExpand description
Applies case and character normalization to a headword.
Used at index time to normalize stored words and at query time to normalize the lookup term so both sides use identical transformations.