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 2 years ago

Package Health Score

65 / 100
Full package analysis

Similar packages