Skip to content

0.2.0

Latest

Choose a tag to compare

@musketyr musketyr released this 28 Oct 08:42
· 3 commits to master since this release

Reworked the Highlighter API which was responsible for too many tasks:

Now there are three interfaces handling the highlighting and terms' scoring. TermMatcher matches the terms in the text and calls Scorer to score the term occurrence and Highlighter to replace the term occurrence with decorated text.