nl_tokens: Gets indices of a specific character in the input text .
pl_tokens: function getIndicesOfCharacter ( text , characterToFind ) { const indices = [ ] ; if ( <mask> . indexOf ( characterToFind ) > - 1 ) { for ( let i = 0 ; i < text . length ; i ++ ) { if ( text [ i ] === characterToFind ) { indices . push ( i ) ; } } } return indices ; }