Fixed log formatting.
diff --git a/nlpcraft/src/main/scala/org/apache/nlpcraft/common/ascii/NCAsciiTable.scala b/nlpcraft/src/main/scala/org/apache/nlpcraft/common/ascii/NCAsciiTable.scala
index 5232ecd..f824be6 100644
--- a/nlpcraft/src/main/scala/org/apache/nlpcraft/common/ascii/NCAsciiTable.scala
+++ b/nlpcraft/src/main/scala/org/apache/nlpcraft/common/ascii/NCAsciiTable.scala
@@ -113,7 +113,7 @@
private val HDR_VER = ansi256Fg(105, "|")
private val HDR_CRS = ansi256Fg(99, "+")
private val ROW_HOR = ansi256Fg(39, "-")
- private val ROW_VER = ansi256Fg(67, "|")
+ private val ROW_VER = ansi256Fg(39, "|")
private val ROW_CRS = ansi256Fg(202, "+")
// Headers & rows.
diff --git a/nlpcraft/src/main/scala/org/apache/nlpcraft/model/intent/solver/NCIntentSolverEngine.scala b/nlpcraft/src/main/scala/org/apache/nlpcraft/model/intent/solver/NCIntentSolverEngine.scala
index 37475ac..710b9f0 100644
--- a/nlpcraft/src/main/scala/org/apache/nlpcraft/model/intent/solver/NCIntentSolverEngine.scala
+++ b/nlpcraft/src/main/scala/org/apache/nlpcraft/model/intent/solver/NCIntentSolverEngine.scala
@@ -281,7 +281,7 @@
)
logger.warn(
- s"Two matching intents have the ${y(bo("same weight"))} for their matches (variants weight will be used further):\n" +
+ s"Two matching intents have the same weight for their matches (variants weight will be used further):\n" +
tbl.toString
)
@@ -597,7 +597,7 @@
)
else {
if (usedSenToks.isEmpty && usedConvToks.isEmpty)
- logger.warn(s"Intent '$intentId' ${bo(y("matched"))} but no tokens were used $varStr.")
+ logger.warn(s"Intent '$intentId' matched but no tokens were used $varStr.")
// Number of remaining (unused) non-free words in the sentence is a measure of exactness of the match.
// The match is exact when all non-free words are used in that match.
@@ -637,7 +637,7 @@
convToks: Seq[IntentToken]
): Option[TermMatch] = {
if (senToks.isEmpty && convToks.isEmpty)
- logger.warn(s"No tokens available to match on for term '${term.toAnsiString}'.")
+ logger.warn(s"No tokens available to match on for the term '${term.toAnsiString}'.")
try
solvePredicate(term.pred, idlCtx, term.min, term.max, senToks, convToks) match {