Example #1
0
 /**
  * Set missing parameters for kana words that were not parsed.
  */
 private function setMissingParameters()
 {
     if (!$this->hasKanji($this->word) && !isset($this->reading)) {
         $this->reading = $this->word;
         $this->pronunciation = $this->word;
         $results = $this->limelight->noParse($this->word(), ['Romaji'], true);
         $this->setPluginData('Romaji', $results->string('romaji'));
     }
 }