nl_tokens: Creates sentence parts based on split sentences .
pl_tokens: function createSentenceParts ( sentences , language ) { const auxiliaryRegex = languageVariables [ language ] . auxiliaryRegex ; const SentencePart = languageVariables [ language ] . SentencePart ; const sentenceParts = [ ] ; forEach ( sentences , function ( part ) { const foundAuxiliaries = sanitizeMatches ( part . match ( auxiliaryRegex || [ ] ) ) ; sentenceParts . push ( <mask> SentencePart ( part , foundAuxiliaries , languageVariables [ language ] . locale ) ) ; } ) ; return sentenceParts ; }