in reply to N-gram comparison

Just count the number of occurrences of each trigram in a hash for each sentence, then compare the hashes.

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.