3 ms·
I've used this to find similarity between terms in a specification document and identifiers in a program. The index is computed on the bag of bigrams from the
by pfdietz 4y ago
I've used this to find similarity between terms in a specification document and identifiers in a program. The index is computed on the bag of bigrams from the two strings.
If one has a set of pairs that are similar, one can look for common bag differences in the matches. These can correspond to extra characters inserted in the identifier names for that particular program (for example, prefixes or suffixes related to module name or variable types.) Once these are found they can be used to tweak the similarity score.