wordfuzz

Natural Language Processing with Datamuse and Wordnet

Usage no npm install needed!

<script type="module">
  import wordfuzz from 'https://cdn.skypack.dev/wordfuzz';
</script>

README

wordfuzz

Natural Language Processing with Datamuse and Wordnet

License: MIT codecov Build Status Maintainability Known Vulnerabilities npm (scoped) npm bundle size (minified)

Install dependency

# With npm
npm install --save wordfuzz

# With yarn
yarn add wordfuzz

Quickstart

const fuzz = require('wordfuzz');

fuzz()
  .meansLike('develop')
  .endsWith('m')
  .max(1)
  .ask().then(console.log);

// [{ word: 'transform', score: 17905, tags: ['v'] }]

TODO

  • Complete Datamuse integration
  • Provide option to communicate with local Wordnet
  • Generate sentences instead of just words