public function test_parse_between_parentheses__2()
 {
     $texte = '(trans.: s.t. (-mut (-mik))); abc';
     $texte_entre_parantheses = Analyzer_MeaningOfMorpheme_Statement::parse_between_parentheses($texte);
     $attendu = '(trans.: s.t. (-mut (-mik)))';
     $reste_attendu = '; abc';
     $this->assertTrue($texte_entre_parantheses != false, "");
     $this->assertEquals($attendu, $texte_entre_parantheses, "");
     $this->assertEquals($reste_attendu, $texte, "");
 }
Ejemplo n.º 2
0
 public static function _parseVerbSens($string)
 {
     $parser = new Analyzer_MeaningOfMorpheme_Statement();
     $analyses = $parser->parse($string);
     return $analyses;
 }