(fix) CoreDictionaryPath Incorrect Assignment (#1903)

This commit is contained in:
zhaodongsheng
2024-11-14 22:34:59 +08:00
committed by GitHub
parent 87729956e8
commit 5e22b412c6

View File

@@ -123,7 +123,7 @@ public class HanlpHelper {
HanLP.Config.CustomDictionaryPath);
HanLP.Config.CoreDictionaryPath =
hanlpPropertiesPath + FILE_SPILT + HanLP.Config.BiGramDictionaryPath;
hanlpPropertiesPath + FILE_SPILT + HanLP.Config.CoreDictionaryPath;
HanLP.Config.CoreDictionaryTransformMatrixDictionaryPath = hanlpPropertiesPath + FILE_SPILT
+ HanLP.Config.CoreDictionaryTransformMatrixDictionaryPath;
HanLP.Config.BiGramDictionaryPath =