nl_tokens: Counts vowel groups inside a word .
pl_tokens: function ( <mask> , locale ) { var numberOfSyllables = 0 ; var vowelRegex = new RegExp ( "[^" + syllableMatchers ( locale ) . vowels + "]" , "ig" ) ; var foundVowels = word . split ( vowelRegex ) ; var filteredWords = filter ( foundVowels , function ( vowel ) { return vowel !== "" ; } ) ; numberOfSyllables += filteredWords . length ; return numberOfSyllables ; }