class for scoring sentence pairs on edit distance