You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nlpcraft.apache.org by ar...@apache.org on 2020/09/09 09:14:36 UTC
[incubator-nlpcraft] branch NLPCRAFT-41 updated: Update
NCSuggestSynonymManager.scala
This is an automated email from the ASF dual-hosted git repository.
aradzinski 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 d5149aa Update NCSuggestSynonymManager.scala
d5149aa is described below
commit d5149aa4f91b79c2e27bd5b41a2fc3d555ca4dbb
Author: Aaron Radzinski <ar...@datalingvo.com>
AuthorDate: Wed Sep 9 02:14:26 2020 -0700
Update NCSuggestSynonymManager.scala
---
.../apache/nlpcraft/server/sugsyn/NCSuggestSynonymManager.scala | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
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 45495bc..bbac7e1 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
@@ -200,8 +200,8 @@ object NCSuggestSynonymManager extends NCService {
if (allSamplesCnt < MIN_CNT_MODEL)
warns +=
s"Model '$mdlId' has too few intents samples: $allSamplesCnt. " +
- s"It will negatively affect the quality of suggestions. " +
- s"Try to increase overall sample count to at least $MIN_CNT_MODEL."
+ s"It will negatively affect the quality of suggestions. " +
+ s"Try to increase overall sample count to at least $MIN_CNT_MODEL."
else {
val ids =
@@ -212,8 +212,8 @@ object NCSuggestSynonymManager extends NCService {
if (ids.nonEmpty)
warns +=
s"Following model intent have too few samples: ${ids.mkString(", ")}. " +
- s"It will negatively affect the quality of suggestions. " +
- s"Try to increase overall sample count to at least $MIN_CNT_INTENT."
+ s"It will negatively affect the quality of suggestions. " +
+ s"Try to increase overall sample count to at least $MIN_CNT_INTENT."
}
val parser = new NCMacroParser()