nl_tokens: Factory to patch based on the bound config .
pl_tokens: function any ( config ) { return setter // Patch data-properties on `node`s with a value and words. function setter ( node ) { var value var polarity if ( 'value' in node || <mask> . type === 'WordNode' ) { value = nlcstToString ( node ) if ( config && own . call ( config , value ) ) { polarity = config [ value ] } else if ( own . call ( polarities , value ) ) { polarity = polarities [ value ] } if ( polarity ) { patch ( node , polarity ) } } } }