Commit 3dc63406 by Yuan

Add new file

parent 0e9ccdec
Summary:
整体完成的不错,代码需要优化一下
Detailed Comments:
1、数据预处理这一步,最好是用函数封装一下,后面的输入的query也要进行同样的处理,方便调用,避免重复代码;
2、在读取glove词向量这一步,with open()这里,把编码方式写上encoding='utf-8'
3、获取相似词这一步,推荐是用gensim,里面已经有集成好的可以返回某个词的k个相似词
Overall Score: 88
--------------------------------------------------------------------------------------------------------------------------
Thanks for your efforts.
-Your instructor
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment