예제 #1
0
 /**
  * Returns the percentage of words with more than three syllables
  * @param   boolean|string  $strText      Text to be measured
  * @param   bool    $blnCountProperNouns      Boolean - should proper nouns be included in words count
  * @return  int|float
  */
 public function percentageWordsWithThreeSyllables($strText = false, $blnCountProperNouns = true)
 {
     $strText = $this->setText($strText);
     return Syllables::percentageWordsWithThreeSyllables($strText, $blnCountProperNouns, $this->strEncoding);
 }