From fa6a5a43a60b493aa403a44957082382494c129b Mon Sep 17 00:00:00 2001 From: Louistiti Date: Sat, 18 May 2019 19:28:50 +0800 Subject: [PATCH] fix(server): NER trim entity on after conditions --- server/src/core/ner.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/core/ner.js b/server/src/core/ner.js index 4945b854e..993b114c7 100644 --- a/server/src/core/ner.js +++ b/server/src/core/ner.js @@ -102,7 +102,7 @@ class Ner { // e.g. list.addBetweenCondition('en', 'create a', 'list') e[conditionMethod](lang, condition.from, condition.to) } else if (condition.type.indexOf('after') !== -1) { - console.log('eee', e[conditionMethod](lang, condition.from)) + e[conditionMethod](lang, condition.from) } else if (condition.type.indexOf('before') !== -1) { e[conditionMethod](lang, condition.to) }