Documentation Center

Example of how word differences affect match score

The following table explains how the match score is computed when the lookup and hit segments differ only in the number of words or if some words are different.

Lookup SegmentHit SegmentDifferenceScoreScore derivation explanation
"this is a segment""this is also a segment"Hit segment has an additional word.80%Lookup segment has 4 out of five matching words. (4/5 = 80%).
"this is also a segment""this is a segment"Lookup segment has an additional word.80%Hit segment has 5 words, Lookup 4 words. (4/5 = 80%)
"this is a segment""this is a sentence"Segments have one different word.75%3 of 4 words match. (3/4 = 75%)
Note that the scoring is order-dependent. Two segments might have the same words, but if they are in a different order, they will not have a 100% match score. For example, "John saw Jim" and "Jim saw John" would not be a have a 100% match score.