Did I find the right examples for you? yes no

All Samples(57)  |  Call(0)  |  Derive(0)  |  Import(57)
A C extension module for fast computation of:
- Levenshtein (edit) distance and edit sequence manipluation
- string similarity
- approximate median strings, and generally string averaging
- string sequence and set similarity

Levenshtein has a some overlap with difflib (SequenceMatcher).  It
supports only strings, not arbitrary sequence types, but on the
other hand it's much faster.
(more...)

src/s/o/socorro-HEAD/webapp-django/vendor/lib/python/translate/search/lshtein.py   socorro(Download)
 
try:
    import Levenshtein as Levenshtein
    distance = native_distance
except ImportError:

src/s/c/scholarScape-HEAD/scholarScape/scholar/scholar/extensions/duplicates.py   scholarScape(Download)
from pymongo import Connection
from itertools import combinations, product
import Levenshtein
import math
import networkx as nx

src/k/i/kitsune-HEAD/vendor/packages/translate-toolkit/translate/search/lshtein.py   kitsune(Download)
 
try:
    import Levenshtein as Levenshtein
    distance = native_distance
except Exception:

src/f/j/fjord-HEAD/vendor/packages/translate-toolkit/translate/search/lshtein.py   fjord(Download)
 
try:
    import Levenshtein as Levenshtein
    distance = native_distance
except ImportError:

src/t/u/tutor-0.2.1/src/tutor/util/fuzzy_cmp/fuzzy_mapping.py   tutor(Download)
    # Default distance function
    if distance is None:
        import Levenshtein
        distance = Levenshtein.distance
 

src/p/y/pywurfl-7.2.1/pywurfl/algorithms/wurfl/strategies.py   pywurfl(Download)
__version__ = "1.2.1"
 
import Levenshtein
 
def ris_match(candidates, needle, tolerance):

src/s/c/scholarScape-HEAD/scholarScape/scholar/scholar/pipelines.py   scholarScape(Download)
 
from pymongo import Connection
import Levenshtein
import pprint
from scrapy import log

src/s/c/scholarScape-HEAD/scholarScape/scholar/scholar/pipelines-template.py   scholarScape(Download)
 
from pymongo import Connection
import Levenshtein
import pprint
from scrapy import log

src/s/c/scholarScape-HEAD/scholarScape/scholar/scholar/duplicates.py   scholarScape(Download)
from bson.objectid import ObjectId
from itertools import combinations, product, chain
import Levenshtein
import math
import networkx as nx

src/p/l/playdoh-lib-HEAD/lib/python/translate/search/lshtein.py   playdoh-lib(Download)
 
try:
    import Levenshtein as Levenshtein
    distance = native_distance
except ImportError:

  1 | 2 | 3 | 4 | 5 | 6  Next