Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
Projects
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
20200519052
Projects
Commits
3dc63406
Commit
3dc63406
authored
4 years ago
by
Yuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add new file
parent
0e9ccdec
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
+17
-0
Project1/review
+17
-0
No files found.
Project1/review
0 → 100644
View file @
3dc63406
Summary:
整体完成的不错,代码需要优化一下
Detailed Comments:
1、数据预处理这一步,最好是用函数封装一下,后面的输入的query也要进行同样的处理,方便调用,避免重复代码;
2、在读取glove词向量这一步,with open()这里,把编码方式写上encoding='utf-8'
3、获取相似词这一步,推荐是用gensim,里面已经有集成好的可以返回某个词的k个相似词
Overall Score: 88
--------------------------------------------------------------------------------------------------------------------------
Thanks for your efforts.
-Your instructor
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment