【NLP-运用TF-IDF来判断语句和文档的匹配程度】给出一句话和一个文档,查看此句话与文档中的那些话更加匹配?
效果给出一句话Igetacoffeecup给一个文档docs=[“itisagoodday,Iliketostayhere”,“Iamhappytobehere”,“Iambob”,“itissunnytoday”,“Ihaveapartytoday”,“itisadogandthatisacat”,“therearedogandcatonthetree”,“Istudyhardthismorni