You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the current behavior
由于map传入的value为null,即使存在,也查不到
Expected behavior
A clear and concise description of what you expected to happen.
根据length或者index进行判断
修复参见pull request (#1674)
System information
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): win10
Python version: xxx
HanLP version: 1.8.2
Other info / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.
I've completed this form and searched the web for solutions.
The text was updated successfully, but these errors were encountered:
Describe the bug
DoubleArrayTrie里的LongestSearcher的next方法,当传入的treemap的value为null时,会引发bug
![image](https://user-images.githubusercontent.com/13550295/130592417-32ae4155-0ea3-4c7a-ad17-9fd2c67e92a5.png)
Code to reproduce the issue
Describe the current behavior
由于map传入的value为null,即使存在,也查不到
Expected behavior
A clear and concise description of what you expected to happen.
根据length或者index进行判断
修复参见pull request (#1674)
System information
Other info / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.
The text was updated successfully, but these errors were encountered: