Implement approaches to calculate similarity between document. Also support similarity between sentences.