From 5e22b412c68d1ef0ac1ca1b9cc2d5f4f6227ec9a Mon Sep 17 00:00:00 2001 From: zhaodongsheng Date: Thu, 14 Nov 2024 22:34:59 +0800 Subject: [PATCH] (fix) CoreDictionaryPath Incorrect Assignment (#1903) --- .../supersonic/headless/chat/knowledge/helper/HanlpHelper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/headless/chat/src/main/java/com/tencent/supersonic/headless/chat/knowledge/helper/HanlpHelper.java b/headless/chat/src/main/java/com/tencent/supersonic/headless/chat/knowledge/helper/HanlpHelper.java index a3e1ae9b0..4e6730a6b 100644 --- a/headless/chat/src/main/java/com/tencent/supersonic/headless/chat/knowledge/helper/HanlpHelper.java +++ b/headless/chat/src/main/java/com/tencent/supersonic/headless/chat/knowledge/helper/HanlpHelper.java @@ -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 =