Closed DanielBiskup closed 4 years ago
Hi @DanielBiskup,
find_near_matches()
avoids returning overlapping matches. Instead, it consolidates groups of overlapping matches, and returns the "best" of each group: the match with the lowest distance, and of those, the longest match. Therefore, the behavior you describe is the intended one.
The various internal search functions will behave more closely to your expectations, but differ in exactly which results they will return. Some of them will not exhaustively return all options.
For some more details, see the usage page in the docs.
On v0.7.1; Related to Issue 18 and Issue 27
I would expect a call to find_near_matches with looser constraints to return a superset of what a call with more restrictive constraints returns. But that's not the case:
outputs
In the case with less constraints I would have expected
matches
to also includeMatch(start=6, end=10, dist=2, matched='de t')
like