meco-core 0.4.2

Mongolian Encoding Converter — pure-by-default Rust library and CLI, ported from Java meco.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Vowel-harmony nature of a Mongolian letter. Port of `word/Nature.java`.
//!
//! Only the enum is needed by the unicode classifier so far. The one-way `SAARMAG -> X`
//! latch behaviour used by the word model is added in Step 3 when `LetterWord`/`ShapeWord` land.

#[derive(Copy, Clone, PartialEq, Eq, Debug)]
pub enum Nature {
    /// 阳性 (masculine)
    Chagh,
    /// 阴性 (feminine)
    Hundii,
    /// 中性 (neutral) — the default that latches to the first non-neutral nature seen.
    Saarmag,
}