nl_tokens: Counts syllables in partial exclusions . If these are found returns the number of syllables found and the modified word . The word is modified so the excluded part isn t counted by the normal syllable counter .
pl_tokens: function ( word , locale ) { var deviationFragments = createDeviationFragmentsMemoized ( syllableMatchers ( locale ) ) ; var remainingParts = <mask> ; var syllableCount = 0 ; forEach ( deviationFragments , function ( deviationFragment ) { if ( deviationFragment . occursIn ( remainingParts ) ) { remainingParts = deviationFragment . removeFrom ( remainingParts ) ; syllableCount += deviationFragment . getSyllables ( ) ; } } ) ; return { word : remainingParts , syllableCount : syllableCount } ; }