프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$arrAddSyllables | These syllables would be counted as one but should be two | ||
$arrAffix | Single syllable prefixes and suffixes | ||
$arrDoubleAffix | Double syllable prefixes and suffixes | ||
$arrProblemWords | - Portmanteaus | ||
$arrSubSyllables | These syllables would be counted as two but should be one | ||
$arrTripleAffix | Triple syllable prefixes and suffixes |
메소드 | 설명 | |
---|---|---|
averageSyllablesPerWord ( string $strText, string $strEncoding = '' ) : integer | float | Returns average syllables per word for text. | |
percentageWordsWithThreeSyllables ( string $strText, boolean $blnCountProperNouns = true, $strEncoding = '' ) : integer | float | Returns the percentage of words with more than three syllables | |
syllableCount ( string $strWord, string $strEncoding = '' ) : integer | Returns the number of syllables in the word. | |
totalSyllables ( string $strText, string $strEncoding = '' ) : integer | Returns total syllable count for text. | |
wordsWithThreeSyllables ( string $strText, boolean $blnCountProperNouns = true, string $strEncoding = '' ) : integer | Returns the number of words with more than three syllables |
public static wordsWithThreeSyllables ( string $strText, boolean $blnCountProperNouns = true, string $strEncoding = '' ) : integer | ||
$strText | string | Text to be measured |
$blnCountProperNouns | boolean | Boolean - should proper nouns be included in words count |
$strEncoding | string | Encoding of text |
리턴 | integer |
public static $arrAddSyllables |
public static $arrSubSyllables |