转载地址: 1 http://www.ruanyifeng.com/blog/2013/03/tf-idf.html 2 http://www.ruanyifeng.com/blog/2013/03/cosine_similarity.html