Skip to content

Commit 6b60684

Browse files
committed
修复 CustomDictionary.reload() fix #1635
1 parent 4704cc1 commit 6b60684

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/com/hankcs/hanlp/dictionary/DynamicCustomDictionary.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ public boolean load(String... path)
101101
else
102102
{
103103
logger.info("自定义词典加载成功:" + dat.size() + "个词条,耗时" + (System.currentTimeMillis() - start) + "ms");
104+
this.path = path;
104105
return true;
105106
}
106107
}

0 commit comments

Comments
 (0)