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

Question for English Developers #30

Open
yaoguangluo opened this issue Jun 15, 2019 · 1 comment
Open

Question for English Developers #30

yaoguangluo opened this issue Jun 15, 2019 · 1 comment

Comments

@yaoguangluo
Copy link
Owner

Hi All,
Sincerely!
At here, if you guys get any problem, Please post on this project communication panel and would let me know first, I will make more fully effectively and interactively solutions for you all. sure!

Good luck!
Yao,
20190615

@yaoguangluo
Copy link
Owner Author

Today,I fixed one Bug at 20th line of Java file as below:
Deta_Parser/wordSegment/org/tinos/engine/pos/imp/POSControllerImp.java

Please change the
if(StableMaps.fuCi.containsKey(StableData.EMPTY_STRING+ fixWord[StableData.INT_ONE].charAt(StableData.INT_ZERO))){

to

if(StableMaps.fuCi.containsKey(StableData.EMPTY_STRING+ (0== fixWord[StableData.INT_ONE].length()? "@^_^@": fixWord[StableData.INT_ONE].charAt(StableData.INT_ZERO)))){

Before fixed: parser ‘音乐有何不可’ will get an exception。
After fiexd: parser ‘音乐有何不可’ will ok。

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

1 participant