Published April 16, 2023
| Version v3.0.0
Software
Open
maxbachmann/RapidFuzz: Release 3.0.0
Creators
- 1. @Memrise
- 2. Princeton University
- 3. @projg2
- 4. @Mana-bio
- 5. MSD France
- 6. Merck KGaA
- 7. Puresoftware
Description
Changed
- allow the usage of
Hamming
for different string lengths. Length differences are handled as insertions / deletions - remove support for boolean preprocessor functions in
rapidfuzz.fuzz
andrapidfuzz.process
. The processor argument is now always a callable or None. - update defaults of the processor argument to be
None
everywhere. This changes the defaults of some of the functions inrapidfuzz.fuzz
andrapidfuzz.process
. rapidfuzz.process
no longer calls scorers withprocessor=None
. For this reason scorer functions do not need to provide this argument anymore.- remove option to pass keyword arguments to scorer via
**kwargs
inrapidfuzz.process
. They can be passed via ascorer_kwargs
argument now. This ensures this does not break when extending function parameters and prevents naming clashes. - remove
rapidfuzz.string_metric
module. Replacements for all functions are available inrapidfuzz.distance
- added support for arbitrary hashable sequence in the pure Python fallback implementation of all functions in
rapidfuzz.distance
- added support for
None
andfloat("nan")
inprocess.cdist
as long as the underlying scorer supports it. This is the case for all scorers returning normalized results.
- fix division by zero in simd implementation of normalized metrics leading to incorrect results
Files
maxbachmann/RapidFuzz-v3.0.0.zip
Files
(392.9 kB)
Name | Size | Download all |
---|---|---|
md5:570aef108b254e1dedde6da62f785cf7
|
392.9 kB | Preview Download |
Additional details
Related works
- Is supplement to
- https://github.com/maxbachmann/RapidFuzz/tree/v3.0.0 (URL)