示例#1
0
 /**
  * @return string
  */
 public function getSentence()
 {
     $protoSentence = $this->dictionary->getSentence();
     $sentence = preg_replace_callback("/<(\\d)>/u", array($this, "replaceWordToken"), $protoSentence);
     return $this->UpperCaseFirst($sentence);
 }