Example #1
0
 /**
  * Returns average syllables per word for text.
  * @param   boolean|string  $strText      Text to be measured
  * @return  int|float
  */
 public function averageSyllablesPerWord($strText = false)
 {
     $strText = $this->setText($strText);
     return Syllables::averageSyllablesPerWord($strText, $this->strEncoding);
 }