shortest distance of words
shortest distance between two words in the document