Skip to content

Commit 606ce10

Browse files
author
jbbunmat
committed
updated
1 parent 41aa4ee commit 606ce10

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

public/src/ai-server/ai_human.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ module.exports = class HunmaAI {
125125
result.topic.response;
126126
} catch (e) {
127127
result["topic"] = { response: await this.textToSplit(q) };
128-
result["lemma"] = { lemma: await this.checkUnnesessaryText(q) };
128+
result["lemma"] = { lemma: await this.checkUnnesessaryWords(q) };
129129

130130
if (!result["curAddress"])
131131
result["curAddress"] = address ? await address.result : null;
@@ -151,7 +151,7 @@ module.exports = class HunmaAI {
151151
return result;
152152
}
153153

154-
async checkUnnesessaryText(text) {
154+
async checkUnnesessaryWords(text) {
155155
// Convert to lowercase
156156
text = text.toLowerCase();
157157

File renamed without changes.

0 commit comments

Comments
 (0)