converter__ElementSimilarity - Bibliome/alvisnlp GitHub Wiki
#ElementSimilarity
Converts into a similarity metrics for CompareElements.
- edit(KEY): levenshtein distance between the values of feature with key KEY;
- KEY(FAIL): 1 if the values of feature with key KEY are equal, FAIL otherwise;
- KEY: 1 if the values of feature with key KEY are equal, 0 otherwise.
String conversion of the tag contents or the value of attribute value.