From a1ab6e3ba3db35fc23e37be377ba5e840a212878 Mon Sep 17 00:00:00 2001 From: Thomas Ryde Date: Sun, 7 Apr 2024 23:50:34 +0200 Subject: [PATCH] Update documentation of cpdist --- docs/Usage/process.rst | 4 ++++ extern/rapidfuzz-cpp | 2 +- src/rapidfuzz/process_py.py | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/Usage/process.rst b/docs/Usage/process.rst index 95a6a6f1..09c4c97c 100644 --- a/docs/Usage/process.rst +++ b/docs/Usage/process.rst @@ -5,6 +5,10 @@ cdist ---------- .. autofunction:: rapidfuzz.process.cdist +cpdist +---------- +.. autofunction:: rapidfuzz.process.cpdist + extract ------- .. autofunction:: rapidfuzz.process.extract diff --git a/extern/rapidfuzz-cpp b/extern/rapidfuzz-cpp index 10426d24..cb4b1c78 160000 --- a/extern/rapidfuzz-cpp +++ b/extern/rapidfuzz-cpp @@ -1 +1 @@ -Subproject commit 10426d24cd7479df0fe8c78b17877e756e1c3cd5 +Subproject commit cb4b1c78d65f74e40c0960afb964eabb67604c85 diff --git a/src/rapidfuzz/process_py.py b/src/rapidfuzz/process_py.py index 1a09d6ff..c54b7b8b 100644 --- a/src/rapidfuzz/process_py.py +++ b/src/rapidfuzz/process_py.py @@ -686,7 +686,7 @@ def cpdist( scorer_kwargs: dict[str, Any] | None = None, ) -> np.ndarray: """ - Compute pairwise distance/similarity between corresponding elements in the two collection of inputs. + Compute pairwise distance/similarity between corresponding elements of the two input lists of strings. Parameters ----------