Lingoe
Word search algorithms
Install
Node.js
npm install lingoe
Usage
Add node module
const Lingoe = ;
Trie
let trie = ; let words = 'word' 'the' 'apple' 'there' 'ape' 'bananas';for let i in words trie; console;// outputs true console;// outputs ['apple', 'ape'] console;// outputs ['word', 'the', 'apple', 'there', 'ape', 'bananas']
Levenshtien Distance
console;// outputs 3
Levenshtien Distance Ratio
console;// outputs 0.5