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 2022/02/21 21:56:35 UTC

[incubator-nlpcraft] branch master updated: Update NCIntentSolverVariant.scala

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

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


The following commit(s) were added to refs/heads/master by this push:
     new b1ffbf4  Update NCIntentSolverVariant.scala
b1ffbf4 is described below

commit b1ffbf42c6eb15250e5ed28b0bff638cf44016c5
Author: Aaron Radzinski <ar...@datalingvo.com>
AuthorDate: Mon Feb 21 13:56:27 2022 -0800

    Update NCIntentSolverVariant.scala
---
 .../apache/nlpcraft/internal/intent/matcher/NCIntentSolverVariant.scala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/nlpcraft/src/main/scala/org/apache/nlpcraft/internal/intent/matcher/NCIntentSolverVariant.scala b/nlpcraft/src/main/scala/org/apache/nlpcraft/internal/intent/matcher/NCIntentSolverVariant.scala
index 339372e..de1af0c 100644
--- a/nlpcraft/src/main/scala/org/apache/nlpcraft/internal/intent/matcher/NCIntentSolverVariant.scala
+++ b/nlpcraft/src/main/scala/org/apache/nlpcraft/internal/intent/matcher/NCIntentSolverVariant.scala
@@ -58,4 +58,4 @@ case class NCIntentSolverVariant(entities: Seq[NCEntity]) extends Ordered[NCInte
 
         weights.zip(other.weights).flatMap { (w1, w2) => compareWeight(w1, w2) }.to(LazyList).headOption.getOrElse(0)
 
-    override def toString: String = s"Weights: ${weights.mkString("[", ",", "]")}"
\ No newline at end of file
+    override def toString: String = s"${weights.mkString("[", ", ", "]")}"
\ No newline at end of file