How to use the @nlpjs/core.stringToArray function in @nlpjs/core

To help you get started, we’ve selected a few @nlpjs/core examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github axa-group / nlp.js / packages / emoji / src / emoji.js View on Github external
const removeEmojis = str =>
  str
    ? stringToArray(str)
        .map(word => which(word))
        .join('')
    : str;

@nlpjs/core

Core

MIT
Latest version published 1 year ago

Package Health Score

75 / 100
Full package analysis

Similar packages