We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
你是python 3.X的版本吗? 我的是python 2.7
python src/isSimilar.py data/1.ori data/key.ori data/stopwords.txt data/word.dict -c 0.8 会有Error: src/features.py", line 20, in compute feature[self.word_dict[token]] += 1 KeyError: u'\u62a5\u8003'
The text was updated successfully, but these errors were encountered:
你的.ori文件里有字典中不存在的token,重新生成下字典就行
Sorry, something went wrong.
No branches or pull requests
你是python 3.X的版本吗? 我的是python 2.7
python src/isSimilar.py data/1.ori data/key.ori data/stopwords.txt data/word.dict -c 0.8
会有Error:
src/features.py", line 20, in compute
feature[self.word_dict[token]] += 1
KeyError: u'\u62a5\u8003'
The text was updated successfully, but these errors were encountered: