About Anaconda Help Download Anaconda

Computing edit distance on arbitrary Python sequences.

Installers

Info: This package contains files in non-standard labels.
  • noarch v1.0.4

conda install

To install this package run one of the following:
conda install conda-forge::edit_distance
conda install conda-forge/label/cf201901::edit_distance
conda install conda-forge/label/cf202003::edit_distance
conda install conda-forge/label/gcc7::edit_distance

Description

Python module for computing edit distances and alignments between sequences. I needed a way to compute edit distances between sequences in Python. I wasn't able to find any appropriate libraries that do this so I wrote my own. There appear to be numerous edit distance libraries available for computing edit distances between two strings, but not between two sequences. This is written entirely in Python. This implementation could likely be optimized to be faster within Python. And could probably be much faster if implemented in C. The library API is modeled after difflib.SequenceMatcher. This is very similar to difflib, except that this module computes edit distance (Levenshtein distance) rather than the Ratcliff and Oberhelp method that Python's difflib uses.


© 2024 Anaconda, Inc. All Rights Reserved. (v4.0.6) Legal | Privacy Policy