nl_tokens: Filters combinations based on whether they end with a specified string or not .
pl_tokens: function filterEndingWith ( wordCombinations , str , exceptions ) { wordCombinations = wordCombinations . filter ( function ( combination ) { const combinationstr = combination . getCombination ( ) ; for ( let i = 0 ; i < exceptions . <mask> ; i ++ ) { if ( combinationstr . endsWith ( exceptions [ i ] ) ) { return true ; } } return ! combinationstr . endsWith ( str ) ; } ) ; return wordCombinations ; }