Last active
December 2, 2019 10:32
-
-
Save RinatValiullov/fe4aeaff55afbccd14e59b423c6b231f to your computer and use it in GitHub Desktop.
For translation of article "Natural language processing for Node.js" - https://bit.ly/2QZsts1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// index.js | |
var natural = require('natural'); | |
console.log(natural.HammingDistance("karolin", "kathrin", false)); | |
console.log(natural.HammingDistance("karolin", "kerstin", false)); | |
console.log(natural.HammingDistance("short string", "longer string", false)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment