I would like to compute cosine similarity score by using Term Frequency-Inverse Document Frequency (TF-IDF) weighting system. Is there any command that allows me to do it?

Any help is appreciated.