Example #1
0
 protected static function generateElements()
 {
     self::$elements = array(array("a", self::VOWEL), array("ae", self::VOWEL | self::DIPTHONG), array("ah", self::VOWEL | self::DIPTHONG), array("ai", self::VOWEL | self::DIPTHONG), array("b", self::CONSONANT), array("c", self::CONSONANT), array("ch", self::CONSONANT | self::DIPTHONG), array("d", self::CONSONANT), array("e", self::VOWEL), array("ee", self::VOWEL | self::DIPTHONG), array("ei", self::VOWEL | self::DIPTHONG), array("f", self::CONSONANT), array("g", self::CONSONANT), array("gh", self::CONSONANT | self::DIPTHONG | self::NOT_FIRST), array("h", self::CONSONANT), array("i", self::VOWEL), array("ie", self::VOWEL | self::DIPTHONG), array("j", self::CONSONANT), array("k", self::CONSONANT), array("l", self::CONSONANT), array("m", self::CONSONANT), array("n", self::CONSONANT), array("ng", self::CONSONANT | self::DIPTHONG | self::NOT_FIRST), array("o", self::VOWEL), array("oh", self::VOWEL | self::DIPTHONG), array("oo", self::VOWEL | self::DIPTHONG), array("p", self::CONSONANT), array("ph", self::CONSONANT | self::DIPTHONG), array("qu", self::CONSONANT | self::DIPTHONG), array("r", self::CONSONANT), array("s", self::CONSONANT), array("sh", self::CONSONANT | self::DIPTHONG), array("t", self::CONSONANT), array("th", self::CONSONANT | self::DIPTHONG), array("u", self::VOWEL), array("v", self::CONSONANT), array("w", self::CONSONANT), array("x", self::CONSONANT), array("y", self::CONSONANT), array("z", self::CONSONANT));
     self::$NUM_ELEMENTS = count(self::$elements);
 }