Module Formosa::Holo::SyllableUtility
In: lib/formosa/syllable_utility.rb

Holo syllable utiliy

Methods

Constants

TONE_SAMPLE = ["a", "a", "á", "à", "a", "â", "ǎ", "ā", "a̍", "a̋"]
LOOKUP_TABLE = {}

Public Class methods

Compose Holo syllable from the query form ("ASCII form")

  • input_type: can be either SyllableType::POJ or Syllable::TL
  • output_type: same as above
  • syllable: the query form of the syllable, such as "goa2", "tai5"

Conversion is done automatically when input and output types are different

Converts a composed syllable (the "composed form") into the query form. For example, "guá" is converted to "gua2"

Converts a long text of composed syllables into the query form

[Validate]