コード例 #1
0
 public function testOrthographeICILat()
 {
     $res = Orthography::latinICIOrthography('X');
     $att = 'nng';
     $this->assertEquals($att, $att, "Erreur : '{$res}' aurait dû être '{$att}'.");
 }
コード例 #2
0
 public function applyOnStem($stem, $suffixe)
 {
     return substr($stem, 0, strlen($stem) - 1) . Orthography::latinICIOrthography(Roman::latinVoicedOfUnvoicedStopConsonant($stem[strlen($stem) - 1]));
 }
コード例 #3
0
 public function combine($form1, $form2, $act2)
 {
     // Ex.: _k + miut > _ngmiut
     return substr($form1, 0, strlen($form1) - 1) . Orthography::latinICIOrthography(Roman::latinNasalOfUnvoicedStopConsonant($form1[strlen($form1) - 1])) . $form2;
 }