|
|
comp_ngrams
|
comp_ngrams (term1, term2, size)
|
Added in advas.0.0.2
Compares two terms and returns their degree of equality. For measuring the equality, the n-gram method is used.
| In: |
term1 |
a string |
| |
term2 |
a second string |
| |
size |
size of the n-grams for comparison, must be at least two and less than length of term1 or term2 |
| Out: |
|
returns a float value between 0 and 1. The higher the value, the higher the degree of equality. |
|
|