nl_tokens: Checks the passed sentences to see if they contain transition words .
pl_tokens: function ( sentences , transitionWords ) { const results = [ ] ; sentences . forEach ( sentence => { const twoPartMatches = matchTwoPartTransitionWords ( sentence , transitionWords . twoPartTransitionWords ( ) ) ; if ( twoPartMatches !== null ) { results . push ( { sentence : sentence , transitionWords : twoPartMatches , } ) ; return ; } const transitionWordMatches = matchTransitionWords ( sentence , transitionWords . transitionWords ) ; if ( transitionWordMatches . length !== 0 ) { results . push ( { sentence : sentence , transitionWords : transitionWordMatches , } ) ; return ; } } ) ; return <mask> ; }