Compares documents to find common word sequences