Skip to content

Commit 205f088

Browse files
authored
update links
1 parent 5637ec5 commit 205f088

File tree

5 files changed

+29
-29
lines changed

5 files changed

+29
-29
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ if (RAPIDFUZZ_INSTALL)
137137
endif()
138138

139139
set(CPACK_PACKAGE_VENDOR "Max Bachmann")
140-
set(CPACK_PACKAGE_CONTACT "https://github.com/maxbachmann/rapidfuzz-cpp")
140+
set(CPACK_PACKAGE_CONTACT "https://github.com/rapidfuzz/rapidfuzz-cpp")
141141
include(CPack)
142142

143143
endif(RAPIDFUZZ_INSTALL)

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
<h1 align="center">
2-
<img src="https://raw.githubusercontent.com/maxbachmann/rapidfuzz/master/docs/img/RapidFuzz.svg?sanitize=true" alt="RapidFuzz" width="400">
2+
<img src="https://raw.githubusercontent.com/rapidfuzz/rapidfuzz/master/docs/img/RapidFuzz.svg?sanitize=true" alt="RapidFuzz" width="400">
33
</h1>
44
<h4 align="center">Rapid fuzzy string matching in C++ using the Levenshtein Distance</h4>
55

66
<p align="center">
7-
<a href="https://github.com/maxbachmann/rapidfuzz-cpp/actions">
8-
<img src="https://github.com/maxbachmann/rapidfuzz-cpp/workflows/CMake/badge.svg"
7+
<a href="https://github.com/rapidfuzz/rapidfuzz-cpp/actions">
8+
<img src="https://github.com/rapidfuzz/rapidfuzz-cpp/workflows/CMake/badge.svg"
99
alt="Continuous Integration">
1010
</a>
11-
<a href="https://maxbachmann.github.io/rapidfuzz-cpp">
11+
<a href="https://rapidfuzz.github.io/rapidfuzz-cpp">
1212
<img src="https://img.shields.io/badge/-documentation-blue"
1313
alt="Documentation">
1414
</a>
15-
<a href="https://github.com/maxbachmann/rapidfuzz-cpp/blob/dev/LICENSE">
16-
<img src="https://img.shields.io/github/license/maxbachmann/rapidfuzz-cpp"
15+
<a href="https://github.com/rapidfuzz/rapidfuzz-cpp/blob/dev/LICENSE">
16+
<img src="https://img.shields.io/github/license/rapidfuzz/rapidfuzz-cpp"
1717
alt="GitHub license">
1818
</a>
1919
</p>
@@ -29,11 +29,11 @@
2929
## Description
3030
RapidFuzz is a fast string matching library for Python and C++, which is using the string similarity calculations from [FuzzyWuzzy](https://github.com/seatgeek/fuzzywuzzy). However, there are two aspects that set RapidFuzz apart from FuzzyWuzzy:
3131
1) It is MIT licensed so it can be used whichever License you might want to choose for your project, while you're forced to adopt the GPL license when using FuzzyWuzzy
32-
2) It is mostly written in C++ and on top of this comes with a lot of Algorithmic improvements to make string matching even faster, while still providing the same results. More details on these performance improvements in the form of benchmarks can be found [here](https://github.com/maxbachmann/rapidfuzz/blob/master/Benchmarks.md)
32+
2) It is mostly written in C++ and on top of this comes with a lot of Algorithmic improvements to make string matching even faster, while still providing the same results. More details on these performance improvements in the form of benchmarks can be found [here](https://github.com/rapidfuzz/rapidfuzz/blob/master/Benchmarks.md)
3333

3434
The Library is split across multiple repositories for the different supported programming languages:
3535
- The C++ version is versioned in this repository
36-
- The Python version can be found at [maxbachmann/rapidfuzz](https://github.com/maxbachmann/rapidfuzz)
36+
- The Python version can be found at [rapidfuzz/rapidfuzz](https://github.com/rapidfuzz/rapidfuzz)
3737

3838

3939
## CMake Integration
@@ -42,7 +42,7 @@ There are severals ways to integrate `rapidfuzz` in your CMake project.
4242

4343
### By Installing it
4444
```bash
45-
git clone https://github.com/maxbachmann/rapidfuzz-cpp.git rapidfuzz-cpp
45+
git clone https://github.com/rapidfuzz/rapidfuzz-cpp.git rapidfuzz-cpp
4646
cd rapidfuzz-cpp
4747
mkdir build && cd build
4848
cmake .. -DCMAKE_BUILD_TYPE=Release
@@ -59,7 +59,7 @@ target_link_libraries(foo rapidfuzz::rapidfuzz)
5959

6060
### Add this repository as a submodule
6161
```bash
62-
git submodule add https://github.com/maxbachmann/rapidfuzz-cpp.git 3rdparty/RapidFuzz
62+
git submodule add https://github.com/rapidfuzz/rapidfuzz-cpp.git 3rdparty/RapidFuzz
6363
```
6464
Then you can either:
6565

@@ -86,7 +86,7 @@ Then you can either:
8686
If you don't want to add `rapidfuzz-cpp` as a submodule, you can also download it with `FetchContent`:
8787
```cmake
8888
FetchContent_Declare(rapidfuzz
89-
GIT_REPOSITORY https://github.com/maxbachmann/rapidfuzz-cpp.git
89+
GIT_REPOSITORY https://github.com/rapidfuzz/rapidfuzz-cpp.git
9090
GIT_TAG main)
9191
FetchContent_MakeAvailable(rapidfuzz)
9292
add_executable(foo main.cpp)

extras/rapidfuzz_amalgamated.hpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10443,7 +10443,7 @@ double token_set_ratio(const rapidfuzz::detail::SplittedSentenceView<InputIt1>&
1044310443
const double score_cutoff)
1044410444
{
1044510445
/* in FuzzyWuzzy this returns 0. For sake of compatibility return 0 here as well
10446-
* see https://github.com/maxbachmann/RapidFuzz/issues/110 */
10446+
* see https://github.com/rapidfuzz/RapidFuzz/issues/110 */
1044710447
if (tokens_a.empty() || tokens_b.empty()) return 0;
1044810448

1044910449
auto decomposition = detail::set_decomposition(tokens_a, tokens_b);
@@ -10532,7 +10532,7 @@ double partial_token_set_ratio(const rapidfuzz::detail::SplittedSentenceView<Inp
1053210532
const double score_cutoff)
1053310533
{
1053410534
/* in FuzzyWuzzy this returns 0. For sake of compatibility return 0 here as well
10535-
* see https://github.com/maxbachmann/RapidFuzz/issues/110 */
10535+
* see https://github.com/rapidfuzz/RapidFuzz/issues/110 */
1053610536
if (tokens_a.empty() || tokens_b.empty()) return 0;
1053710537

1053810538
auto decomposition = detail::set_decomposition(tokens_a, tokens_b);
@@ -10867,7 +10867,7 @@ double WRatio(InputIt1 first1, InputIt1 last1, InputIt2 first2, InputIt2 last2,
1086710867
auto len2 = std::distance(first2, last2);
1086810868

1086910869
/* in FuzzyWuzzy this returns 0. For sake of compatibility return 0 here as well
10870-
* see https://github.com/maxbachmann/RapidFuzz/issues/110 */
10870+
* see https://github.com/rapidfuzz/RapidFuzz/issues/110 */
1087110871
if (!len1 || !len2) return 0;
1087210872

1087310873
double len_ratio = (len1 > len2) ? static_cast<double>(len1) / static_cast<double>(len2)
@@ -10921,7 +10921,7 @@ double CachedWRatio<CharT1>::similarity(InputIt2 first2, InputIt2 last2, double
1092110921
size_t len2 = static_cast<size_t>(std::distance(first2, last2));
1092210922

1092310923
/* in FuzzyWuzzy this returns 0. For sake of compatibility return 0 here as well
10924-
* see https://github.com/maxbachmann/RapidFuzz/issues/110 */
10924+
* see https://github.com/rapidfuzz/RapidFuzz/issues/110 */
1092510925
if (!len1 || !len2) return 0;
1092610926

1092710927
double len_ratio = (len1 > len2) ? static_cast<double>(len1) / static_cast<double>(len2)
@@ -10967,7 +10967,7 @@ double QRatio(InputIt1 first1, InputIt1 last1, InputIt2 first2, InputIt2 last2,
1096710967
ptrdiff_t len2 = std::distance(first2, last2);
1096810968

1096910969
/* in FuzzyWuzzy this returns 0. For sake of compatibility return 0 here as well
10970-
* see https://github.com/maxbachmann/RapidFuzz/issues/110 */
10970+
* see https://github.com/rapidfuzz/RapidFuzz/issues/110 */
1097110971
if (!len1 || !len2) return 0;
1097210972

1097310973
return ratio(first1, last1, first2, last2, score_cutoff);
@@ -10988,7 +10988,7 @@ double CachedQRatio<CharT1>::similarity(InputIt2 first2, InputIt2 last2, double
1098810988
auto len2 = std::distance(first2, last2);
1098910989

1099010990
/* in FuzzyWuzzy this returns 0. For sake of compatibility return 0 here as well
10991-
* see https://github.com/maxbachmann/RapidFuzz/issues/110 */
10991+
* see https://github.com/rapidfuzz/RapidFuzz/issues/110 */
1099210992
if (s1.empty() || !len2) return 0;
1099310993

1099410994
return cached_ratio.similarity(first2, last2, score_cutoff);

rapidfuzz/fuzz_impl.hpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ double token_set_ratio(const rapidfuzz::detail::SplittedSentenceView<InputIt1>&
374374
const double score_cutoff)
375375
{
376376
/* in FuzzyWuzzy this returns 0. For sake of compatibility return 0 here as well
377-
* see https://github.com/maxbachmann/RapidFuzz/issues/110 */
377+
* see https://github.com/rapidfuzz/RapidFuzz/issues/110 */
378378
if (tokens_a.empty() || tokens_b.empty()) return 0;
379379

380380
auto decomposition = detail::set_decomposition(tokens_a, tokens_b);
@@ -463,7 +463,7 @@ double partial_token_set_ratio(const rapidfuzz::detail::SplittedSentenceView<Inp
463463
const double score_cutoff)
464464
{
465465
/* in FuzzyWuzzy this returns 0. For sake of compatibility return 0 here as well
466-
* see https://github.com/maxbachmann/RapidFuzz/issues/110 */
466+
* see https://github.com/rapidfuzz/RapidFuzz/issues/110 */
467467
if (tokens_a.empty() || tokens_b.empty()) return 0;
468468

469469
auto decomposition = detail::set_decomposition(tokens_a, tokens_b);
@@ -798,7 +798,7 @@ double WRatio(InputIt1 first1, InputIt1 last1, InputIt2 first2, InputIt2 last2,
798798
auto len2 = std::distance(first2, last2);
799799

800800
/* in FuzzyWuzzy this returns 0. For sake of compatibility return 0 here as well
801-
* see https://github.com/maxbachmann/RapidFuzz/issues/110 */
801+
* see https://github.com/rapidfuzz/RapidFuzz/issues/110 */
802802
if (!len1 || !len2) return 0;
803803

804804
double len_ratio = (len1 > len2) ? static_cast<double>(len1) / static_cast<double>(len2)
@@ -852,7 +852,7 @@ double CachedWRatio<CharT1>::similarity(InputIt2 first2, InputIt2 last2, double
852852
size_t len2 = static_cast<size_t>(std::distance(first2, last2));
853853

854854
/* in FuzzyWuzzy this returns 0. For sake of compatibility return 0 here as well
855-
* see https://github.com/maxbachmann/RapidFuzz/issues/110 */
855+
* see https://github.com/rapidfuzz/RapidFuzz/issues/110 */
856856
if (!len1 || !len2) return 0;
857857

858858
double len_ratio = (len1 > len2) ? static_cast<double>(len1) / static_cast<double>(len2)
@@ -898,7 +898,7 @@ double QRatio(InputIt1 first1, InputIt1 last1, InputIt2 first2, InputIt2 last2,
898898
ptrdiff_t len2 = std::distance(first2, last2);
899899

900900
/* in FuzzyWuzzy this returns 0. For sake of compatibility return 0 here as well
901-
* see https://github.com/maxbachmann/RapidFuzz/issues/110 */
901+
* see https://github.com/rapidfuzz/RapidFuzz/issues/110 */
902902
if (!len1 || !len2) return 0;
903903

904904
return ratio(first1, last1, first2, last2, score_cutoff);
@@ -919,7 +919,7 @@ double CachedQRatio<CharT1>::similarity(InputIt2 first2, InputIt2 last2, double
919919
auto len2 = std::distance(first2, last2);
920920

921921
/* in FuzzyWuzzy this returns 0. For sake of compatibility return 0 here as well
922-
* see https://github.com/maxbachmann/RapidFuzz/issues/110 */
922+
* see https://github.com/rapidfuzz/RapidFuzz/issues/110 */
923923
if (s1.empty() || !len2) return 0;
924924

925925
return cached_ratio.similarity(first2, last2, score_cutoff);

test/tests-fuzz.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ TEST_CASE("RatioTest")
147147
score_test(100, fuzz::partial_ratio("physics 2 vid", "study physics physics 2 video"));
148148
}
149149

150-
SECTION("testIssue206") /* test for https://github.com/maxbachmann/RapidFuzz/issues/206 */
150+
SECTION("testIssue206") /* test for https://github.com/rapidfuzz/RapidFuzz/issues/206 */
151151
{
152152
const char* str1 = "South Korea";
153153
const char* str2 = "North Korea";
@@ -160,7 +160,7 @@ TEST_CASE("RatioTest")
160160
}
161161
}
162162

163-
SECTION("testIssue210") /* test for https://github.com/maxbachmann/RapidFuzz/issues/210 */
163+
SECTION("testIssue210") /* test for https://github.com/rapidfuzz/RapidFuzz/issues/210 */
164164
{
165165
const char* str1 = "bc";
166166
const char* str2 = "bca";
@@ -173,7 +173,7 @@ TEST_CASE("RatioTest")
173173
}
174174
}
175175

176-
SECTION("testIssue231") /* test for https://github.com/maxbachmann/RapidFuzz/issues/231 */
176+
SECTION("testIssue231") /* test for https://github.com/rapidfuzz/RapidFuzz/issues/231 */
177177
{
178178
const char* str1 = "er merkantilismus f/rderte handel und verkehr mit teils marktkonformen, teils "
179179
"dirigistischen ma_nahmen.";
@@ -188,7 +188,7 @@ TEST_CASE("RatioTest")
188188
REQUIRE(alignment.dest_end == 51);
189189
}
190190

191-
SECTION("testIssue257") /* test for https://github.com/maxbachmann/RapidFuzz/issues/257 */
191+
SECTION("testIssue257") /* test for https://github.com/rapidfuzz/RapidFuzz/issues/257 */
192192
{
193193
const char* str1 = "aaaaaaaaaaaaaaaaaaaaaaaabacaaaaaaaabaaabaaaaaaaababbbbbbbbbbabbcb";
194194
const char* str2 = "aaaaaaaaaaaaaaaaaaaaaaaababaaaaaaaabaaabaaaaaaaababbbbbbbbbbabbcb";
@@ -197,7 +197,7 @@ TEST_CASE("RatioTest")
197197
score_test(98.4615385, fuzz::partial_ratio(str2, str1));
198198
}
199199

200-
SECTION("testIssue257") /* test for https://github.com/maxbachmann/RapidFuzz/issues/219 */
200+
SECTION("testIssue257") /* test for https://github.com/rapidfuzz/RapidFuzz/issues/219 */
201201
{
202202
const char* str1 =
203203
"TTAGCGCTACCGGTCGCCACCATGGTTTTCTAAGGGGAGGCCGTCATCAAAAGAGTTCATGTAGCACGAAGTCCACCTTTGAAGGATCGATGAATG"

0 commit comments

Comments
 (0)