Popularity
4.5
Stable
Activity
0.0
Stable
699
14
35

Code Quality Rank: L3
Monthly Downloads: 0
Programming language: JavaScript
License: MIT License
Tags: Text     Natural Language Processing     Diff     String     Match     Matching     Fast     Edit     Comparison     Compare     Similarity     Similar     Fuzzy     Difference     Algo     Algorithm     Distance     Levenshtein     Leven    
Latest version: v3.1.0

leven alternatives and similar modules

Based on the "Natural Language Processing" category.
Alternatively, view leven alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of leven or a related project?

Add another 'Natural Language Processing' Module

README

leven Build Status

Measure the difference between two strings One of the fastest JS implementations of the Levenshtein distance algorithm

Install

$ npm install leven

Usage

const leven = require('leven');

leven('cat', 'cow');
//=> 2

Benchmark

$ npm run bench
         165,926 op/s » leven
         164,398 op/s » talisman
           1,044 op/s » levenshtein-edit-distance
             628 op/s » fast-levenshtein
             497 op/s » levenshtein-component
             195 op/s » ld
             190 op/s » levenshtein
             168 op/s » levdist
              10 op/s » natural

Related


Get professional support for this package with a Tidelift subscription Tidelift helps make open source sustainable for maintainers while giving companiesassurances about security, maintenance, and licensing for their dependencies.