Class FuzzyMatcher

All Implemented Interfaces:
Matcher<String>

public class FuzzyMatcher extends BodyMatcher<String>
Deterministic fuzzy / similarity body matcher.

Matches when the request body is at least threshold similar to the expected value, where similarity is the normalised Jaro-Winkler ratio in the range [0.0, 1.0] computed by StringSimilarity. Unlike the LLM-based semantic matcher this is fully deterministic and requires no external service.

Author:
jamesdbloom