Expand description
Vietnamese CVC (Consonant-Vowel-Consonant) spelling validation.
Functions§
- apply_
mark - Applies mark
mto characterc. Marks: 1=hat, 2=breve, 3=horn, 4=dash. - apply_
tone - Applies tone
tto the toneless base characterc. - is_
valid_ cvc - Public CVC validation entry point.
- is_
vowel - lower
- tone_of
- Returns the tone number (0=none, 1=grave, 2=acute, 3=hook, 4=tilde, 5=dot)
- toneless_
base - Returns the toneless base vowel for a character. e.g. ‘ấ’ → ‘â’, ‘ạ’ → ‘a’, ‘ê’ → ‘ê’