nl_tokens: Counts the number of syllables in a text per word based on vowels . Uses exclusion words for words that cannot be matched with vowel matching .
pl_tokens: function ( text , locale ) { text = text . toLocaleLowerCase ( ) ; var words = getWords ( <mask> ) ; var syllableCounts = map ( words , function ( word ) { return countSyllablesInWord ( word , locale ) ; } ) ; return sum ( syllableCounts ) ; }