Skip to content

Release 1.1.0

Choose a tag to compare

@maxbachmann maxbachmann released this 21 Feb 18:43
· 733 commits to main since this release
5383d28

Changed

  • string_metric.normalized_levenshtein supports now all weights
  • when different weights are used for Insertion and Deletion the strings are not swapped inside the Levenshtein implementation anymore. So different weights for Insertion and Deletion are now supported.
  • replace C++ implementation with a Cython implementation. This has the following advantages:
    • The implementation is less error prone, since a lot of the complex things are done by Cython
    • slighly faster than the current implementation (up to 10% for some parts)
    • about 33% smaller binary size
    • reduced compile time
  • Added **kwargs argument to process.extract/extractOne/extract_iter that is passed to the scorer
  • Add max argument to hamming distance
  • Add support for whole Unicode range to utils.default_process

Performance

  • replaced Wagner Fischer usage in the normal Levenshtein distance with a bitparallel implementation