Deta_Parser icon indicating copy to clipboard operation
Deta_Parser copied to clipboard

Question for English Developers

Open yaoguangluo opened this issue 5 years ago • 1 comments

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 avatar Jun 15 '19 06:06 yaoguangluo

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。

yaoguangluo avatar Nov 08 '19 20:11 yaoguangluo