Deta_Parser
Deta_Parser copied to clipboard
Question for English Developers
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
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。