This is an automated email from the ASF dual-hosted git repository.
sergeykamov pushed a commit to branch NLPCRAFT-41
in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft.git
The following commit(s) were added to refs/heads/NLPCRAFT-41 by this push:
new 8296a9c WIP.
8296a9c is described below
commit 8296a9c5328db1fd0f4c956ade8a0024d52c3148
Author: Sergey Kamov <[email protected]>
AuthorDate: Mon Aug 24 22:23:10 2020 +0300
WIP.
---
.../scala/org/apache/nlpcraft/server/model/NCEnhanceManager.scala | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git
a/nlpcraft/src/main/scala/org/apache/nlpcraft/server/model/NCEnhanceManager.scala
b/nlpcraft/src/main/scala/org/apache/nlpcraft/server/model/NCEnhanceManager.scala
index a040434..9aad487 100644
---
a/nlpcraft/src/main/scala/org/apache/nlpcraft/server/model/NCEnhanceManager.scala
+++
b/nlpcraft/src/main/scala/org/apache/nlpcraft/server/model/NCEnhanceManager.scala
@@ -229,11 +229,9 @@ object NCEnhanceManager extends NCService {
map { case (elemId, _) ⇒ elemId }
if (noExElems.nonEmpty)
- // TODO: text
- logger.warn(
+ warns +=
"Some elements don't have synonyms in intent samples, " +
s"so the service can't suggest any new synonyms for such
elements: [${noExElems.mkString(", ")}]"
- )
val allReqsCnt = allReqs.map(_._2.size).sum
val allSynsCnt = elemSyns.map(_._2.size).sum