Skip to content
New issue

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

input text cannot be one word #195

Closed
QUAFFquaff opened this issue May 13, 2021 · 1 comment
Closed

input text cannot be one word #195

QUAFFquaff opened this issue May 13, 2021 · 1 comment

Comments

@QUAFFquaff
Copy link

如果输入的query仅仅是一个词的话会报错:
input = u"青花瓷"
It says:
IndexError: list index out of range
in
File "~/lib/python2.7/site-packages/LAC/models.py", line 371, in parse_result
weight_out[-1] = max(weight_out[-1], weight[ind])

@Bond-H
Copy link
Collaborator

Bond-H commented May 26, 2021

问题已修复,请更新至2.1.2版本

@Bond-H Bond-H closed this as completed May 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants