Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
howie6879 authored and gaussic committed Jan 16, 2018
1 parent 44356c6 commit bb338f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion predict.py
Expand Up @@ -35,7 +35,7 @@ def __init__(self):
saver.restore(sess=self.session, save_path=save_path) # 读取保存的模型

def predict(self, message):
# 支持不论在python2还是python3下训练的模型都可以在2后者3的环境下运行
# 支持不论在python2还是python3下训练的模型都可以在2或者3的环境下运行
content = unicode(message)
data = [self.word_to_id[x] for x in content if x in self.word_to_id]

Expand Down

0 comments on commit bb338f3

Please sign in to comment.