예제 #1
0
 /**
  * Returns the number 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
  */
 public function wordsWithThreeSyllables($strText = false, $blnCountProperNouns = true)
 {
     $strText = $this->setText($strText);
     return Syllables::wordsWithThreeSyllables($strText, $blnCountProperNouns, $this->strEncoding);
 }