The Scorer type exposes the following members.

Methods

  NameDescription
Public methodGetFragmentScore
Called when the highlighter has no more tokens for the current fragment - the scorer returns the weighting it has derived for the most recent fragment, typically based on the tokens passed to getTokenScore().
Public methodGetTokenScore
Called for each token in the current fragment
Public methodStartFragment
called when a new fragment is started for consideration

See Also