Skip to main content

Module cantonese

Module cantonese 

Source
Expand description

Cantonese input in toneless Jyutping, read against msime-cantonese.db (language_dictionary). Output is Traditional as stored, and nothing is learned.

Re-exports§

pub use scheme::CantoneseCandidate;
pub use scheme::CantoneseScheme;
pub use syllable::Inventory;

Modules§

scheme
The Jyutping composition: typed letters and ' boundaries, read as syllables against the inventory, and the candidates msime-cantonese.db has for them. A candidate may cover only the leading syllables; selecting it takes those letters out of the composition and leaves the rest composing, with nothing held back as phrase progress.
shuangpin
粤拼双拼的独立键位规则。
syllable
Toneless Jyutping syllables: the inventory msime-cantonese.db lists, and the segmentation of typed letters into it. ' is a hard boundary no syllable crosses, and only the last letters of the input may be an incomplete syllable, one some inventory syllable starts with.

Structs§

CantoneseDictionary
msime-cantonese.db opened for one activation of the scheme, with its syllable inventory read once.

Constants§

SPELLING_SYMBOLS_COMPOSING
The non-letter keys the scheme spells with while composing: ' is an explicit syllable boundary.