You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nlpcraft.apache.org by se...@apache.org on 2020/09/18 07:10:19 UTC

[incubator-nlpcraft] 04/12: Update NCSuggestSynonymManager.scala

This is an automated email from the ASF dual-hosted git repository.

sergeykamov pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft.git

commit 60c35017c62eb45ce4cf0e8e4715b74398ba9808
Author: Aaron Radzinski <ar...@datalingvo.com>
AuthorDate: Thu Sep 17 11:09:03 2020 -0700

    Update NCSuggestSynonymManager.scala
---
 .../org/apache/nlpcraft/server/sugsyn/NCSuggestSynonymManager.scala     | 2 +-
 1 file changed, 1 insertion(+), 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 8acee4d..9e4c358 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
@@ -211,7 +211,7 @@ object NCSuggestSynonymManager extends NCService {
 
                             if (allSamplesCnt < MIN_CNT_MODEL)
                                 warns +=
-                                    s"Model has too few intents samples: $allSamplesCnt. " +
+                                    s"Model has too few ($allSamplesCnt) intents samples. " +
                                     s"It will negatively affect the quality of suggestions. " +
                                     s"Try to increase overall sample count to at least $MIN_CNT_MODEL."