diff --git a/README.md b/README.md index ac6413518..34637ee76 100644 --- a/README.md +++ b/README.md @@ -78,7 +78,7 @@ HanLP提供下列功能: com.hankcs hanlp - portable-1.8.2 + portable-1.8.3 ``` diff --git a/pom.xml b/pom.xml index 1a483ea3d..f17d9d22b 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.hankcs hanlp - 1.8.2 + 1.8.3 HanLP http://www.hankcs.com/ diff --git a/src/main/java/com/hankcs/hanlp/seg/WordBasedSegment.java b/src/main/java/com/hankcs/hanlp/seg/WordBasedSegment.java index 38e4b0c9b..1dcf5e650 100644 --- a/src/main/java/com/hankcs/hanlp/seg/WordBasedSegment.java +++ b/src/main/java/com/hankcs/hanlp/seg/WordBasedSegment.java @@ -396,7 +396,7 @@ protected void generateWordNet(final WordNet wordNetStorage) // 强制用户词典查询 if (config.forceCustomDictionary) { - CustomDictionary.parseText(charArray, new AhoCorasickDoubleArrayTrie.IHit() + this.customDictionary.parseText(charArray, new AhoCorasickDoubleArrayTrie.IHit() { @Override public void hit(int begin, int end, CoreDictionary.Attribute value)