This is an automated email from the ASF dual-hosted git repository.
aradzinski pushed a commit to branch NLPCRAFT-218
in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft.git
The following commit(s) were added to refs/heads/NLPCRAFT-218 by this push:
new 496d15e Update NCSuggestSynonymManager.scala
496d15e is described below
commit 496d15e6b52608c5f99aaaeeeb2c96219cf8f4a9
Author: Aaron Radzinski <[email protected]>
AuthorDate: Thu Feb 18 17:57:27 2021 -0800
Update NCSuggestSynonymManager.scala
---
.../org/apache/nlpcraft/server/sugsyn/NCSuggestSynonymManager.scala | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git
a/nlpcraft/src/main/scala/org/apache/nlpcraft/server/sugsyn/NCSuggestSynonymManager.scala
b/nlpcraft/src/main/scala/org/apache/nlpcraft/server/sugsyn/NCSuggestSynonymManager.scala
index 31d7786..bf6f686 100644
---
a/nlpcraft/src/main/scala/org/apache/nlpcraft/server/sugsyn/NCSuggestSynonymManager.scala
+++
b/nlpcraft/src/main/scala/org/apache/nlpcraft/server/sugsyn/NCSuggestSynonymManager.scala
@@ -266,7 +266,8 @@ object NCSuggestSynonymManager extends NCService {
map { case (elemId, _) ⇒ elemId }
if (noExElems.nonEmpty)
- warns += s"Elements do not have single words
synonyms in their intent samples - no suggestion can be made:
${noExElems.mkString(", ")}"
+ warns += s"Elements do not have *single word*
synonyms in their @NCIntentSample - " +
+ s"no suggestion can be made:
${noExElems.mkString(", ")}"
val allReqsCnt = allReqs.map(_._2.size).sum
val allSynsCnt = elemSyns.map(_._2.size).sum