Finished edit distance and stemming