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
` import cntext as ct res = ct.load_pkl_dict('DUTIR.pkl')
for k,v in res['DUTIR'].items(): print(k,len(v)) print("开心" in v) `
会发现 ’开心‘同时在’乐‘和’惧‘两个类别中出现
The text was updated successfully, but these errors were encountered:
关于词典污染问题已解决。该问题存在于1.7.1及之前的版本,命令行中的更新安装方法
pip3 install cntext==1.7.2
Sorry, something went wrong.
No branches or pull requests
`
import cntext as ct
res = ct.load_pkl_dict('DUTIR.pkl')
for k,v in res['DUTIR'].items():
print(k,len(v))
print("开心" in v)
`
会发现 ’开心‘同时在’乐‘和’惧‘两个类别中出现
The text was updated successfully, but these errors were encountered: