koishi-plugin-chat-analyse 0.6.1 → 0.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.js +1 -0
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -839,6 +839,7 @@ var Analyse = class {
|
|
|
839
839
|
this.config = config;
|
|
840
840
|
this.renderer = new Renderer(ctx);
|
|
841
841
|
this.nlp = new import_basic.Nlp({ languages: ["zh"], nlu: { log: false } });
|
|
842
|
+
this.nlp.settings.autoSave = false;
|
|
842
843
|
this.nlp.container.register("extract-lang-zh", new import_lang_zh.LangZh());
|
|
843
844
|
this.initializeNlp().catch((err) => {
|
|
844
845
|
this.ctx.logger.error("NLP 语言模型加载失败:", err);
|