Releases: rapidfuzz/RapidFuzz
Releases · rapidfuzz/RapidFuzz
Release 2.7.0
Performance
- improve performance of
Levenshtein.distance
/Levenshtein.editops
for
long sequences.
Added
- add
score_hint
parameter toLevenshtein.editops
which allows the use of a
faster implementation
Changed
- all functions in the
string_metric
module do now raise a deprecation warning.
They are now only wrappers for their replacement functions, which makes them slower
when used with the process module
Release 2.6.1
Fixed
- fix incorrect results of partial_ratio for long needles (#257)
Release 2.6.0
Fixed
- fix hashing for custom classes
Added
- add support for slicing in
Editops.__getitem__
/Editops.__delitem__
- add
DamerauLevenshtein
module
Release 2.5.0
Added
- added support for KeyboardInterrupt in processor module
It might still take a bit until the KeyboardInterrupt is registered, but
no longer runs all text comparisions after pressingCtrl + C
Fixed
- fix default scorer used by cdist to use C++ implementation if possible
Release 2.4.4
Changed
- Added support for Python3.11
Release 2.4.3
Fixed
- fix value range of
jaro_similarity
/jaro_winkler_similarity
in the pure Python mode
for the string_metric module - fix missing atomic symbol on arm 32 bit
Release 2.4.2
Fixed
- add missing symbol to pure Python version which prevented the usage of the fallback implementation
Release 2.4.1
Fixed
- fix version number
Release 2.4.0
Fixed
- fix banded Levenshtein implementation
Performance
- improve performance and memory usage of
Levenshtein.editops
- memory usage is reduced from O(NM) to O(N)
- performance is improved for long sequences
Release 2.3.0
Added
- add
as_matching_blocks
toEditops
/Opcodes
- add support for deletions from
Editops
- add
Editops.apply
/Opcodes.apply
- add
Editops.remove_subsequence
Changed
- merge adjacent similar blocks in
Opcodes
Fixed
- fix usage of
eval(repr(Editop))
,eval(repr(Editops))
,eval(repr(Opcode))
andeval(repr(Opcodes))
- fix opcode conversion for empty source sequence
- fix validation for empty Opcode list passed into
Opcodes.__init__