fuzzball.js
fuzzball.js copied to clipboard
Highlight matches?
Is there a way to highlight matching terms?
Not currently. You might be able to roll your own depending on your use case but nothing built-in, and it might or might not make sense depending on the function you're using.
Hmm maybe the token set scorers could return the intersecting terms though, it wouldn't be a huge rework to support it. It'd only work at the token level most of the functions there's only one score calculated for the whole string.