You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+2-1
Original file line number
Diff line number
Diff line change
@@ -54,7 +54,8 @@ be easily configured by passing a lambda expression.
54
54
*_Levenshtein_: Gets the Levenshtein distance score using apache commons similarity library
55
55
*_Jaccard_: Gets the Jaccard score using apache commons similarity library
56
56
57
-
*__Scoring__ : Expects a ```Function<Match, Double>```, this defines functions on how to accumulate scores from Tokens into Elements and from Elements into Documents
57
+
*__Scoring__ : Expects a ```BiFunction<Match, List<Score>, Double>```, this defines functions on how to accumulate scores
58
+
from Tokens into Elements and from Elements into Documents.
58
59
*_Simple Average_: Adds up total scores of each child matches / total children. This is the default scoring for Elements
59
60
*_Weighted Average_: This is useful for Document Scoring, where users can input weights on elements.
60
61
Example a phone number or email could be considered an important element to identify match between 2 User objects, and we can add weights to such elements.
0 commit comments