nl_tokens: Splits the sentence into sentence parts based on stopwords .
pl_tokens: function splitSentence ( sentence , language ) { const stopwordRegex = languageVariables [ language ] . stopwordRegex ; const stopwords = sentence . match ( stopwordRegex ) || [ ] ; const splitSentences = splitOnWords ( sentence , stopwords ) ; return createSentenceParts ( splitSentences , <mask> ) ; }