Text Classification(Spacy) in place of Gensim

佐手、 提交于 2020-01-25 06:47:09

问题


Hello i am using gemsin library for semantic text similarity classification but i am failed to load the data of gemsin file even it takes too much time to execute the program when we use jupyter notebbok and run cells. So my question is that can we use spacy library to overcome this type of error and can we fount out the similarity between two document files.i have seen tf-idf for semantic similarity here is error

MemoryError: Unable to allocate 3.35 GiB for an array with shape (3000000, 300) and data type float32

or suggest me some kind of library for finding out semantic similarity . I am new in the gensim or text classification

来源:https://stackoverflow.com/questions/59751632/text-classificationspacy-in-place-of-gensim

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!