Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BoostBestResult ¶
func BoostBestResult(nr *bhl.RefsByName, nb bayes.Bayes) error
BoostBestResult provides additional score for the best result in NameRefs.
Types ¶
type Score ¶
type Score interface { fmt.Stringer // Calculate calculates scores for a given set using heuristic and // machine learning methods. Calculate(*bhl.RefsByName, ttlmch.TitleMatcher, bayes.Bayes, bool) error }
Score interface provides methods to calculate scores that is used to rank matching quality of BHL metadata to provided publication references.
Click to show internal directories.
Click to hide internal directories.