Word-based edit distance with stop-words option