Skip to content

Instantly share code, notes, and snippets.

@RinatValiullov
Created November 29, 2019 20:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RinatValiullov/08d9244eb2060d1cdf5845b60bf5fa80 to your computer and use it in GitHub Desktop.
Save RinatValiullov/08d9244eb2060d1cdf5845b60bf5fa80 to your computer and use it in GitHub Desktop.
For translation of article "Natural language processing for Node.js" - https://bit.ly/2QZsts1
// index.js
var natural = require('natural');
natural.PorterStemmer.attach();
console.log("I can see that we are going to be friends".tokenizeAndStem());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment