Commit Graph

5 Commits

Author SHA1 Message Date
Max Bachmann 9fd6d08655 add levenshtein_editops 2021-08-21 03:08:50 +02:00
Max Bachmann e3e04da293 use keyword only arguments 2021-08-19 23:02:00 +02:00
maxbachmann 53172e66b3 fix return value of extract for the querz None 2021-08-18 11:22:52 +02:00
Max Bachmann 5383d286b2
Release v1.1.0 (#75)
## Changed
- string_metric.normalized_levenshtein supports now all weights
- when different weights are used for Insertion and Deletion the strings can not be 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
2021-02-21 19:42:36 +01:00
Max Bachmann 7139004214 fix uninitialized variable 2021-02-17 23:08:56 +01:00