This is an automated email from the ASF dual-hosted git repository.
sergeykamov pushed a commit to branch NLPCRAFT-473
in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft.git
The following commit(s) were added to refs/heads/NLPCRAFT-473 by this push:
new 84e4a77 WIP.
84e4a77 is described below
commit 84e4a776532dd04dd3e66bac1269d6708423f54a
Author: Sergey Kamov <[email protected]>
AuthorDate: Thu Jan 27 21:05:09 2022 +0300
WIP.
---
.../internal/impl/scan/NCModelIntentsInvalidArgsSpec.scala | 2 +-
.../nlpcraft/internal/impl/scan/NCTestModelScala.scala | 12 ++++++------
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git
a/nlpcraft/src/test/scala/org/apache/nlpcraft/internal/impl/scan/NCModelIntentsInvalidArgsSpec.scala
b/nlpcraft/src/test/scala/org/apache/nlpcraft/internal/impl/scan/NCModelIntentsInvalidArgsSpec.scala
index 1283fcb..0640627 100644
---
a/nlpcraft/src/test/scala/org/apache/nlpcraft/internal/impl/scan/NCModelIntentsInvalidArgsSpec.scala
+++
b/nlpcraft/src/test/scala/org/apache/nlpcraft/internal/impl/scan/NCModelIntentsInvalidArgsSpec.scala
@@ -136,7 +136,7 @@ class NCModelIntentsInvalidArgsSpec:
testOk(CHECKED_MDL_VALID, "validList")
testOk(CHECKED_MDL_VALID, "validOpt")
- // Errors thrown on san phase if error found in any intent.
+ // Errors thrown on scan phase if error found in any intent.
testScanValidation(CHECKED_MDL_INVALID_LST)
testScanValidation(CHECKED_MDL_INVALID_OPT)
diff --git
a/nlpcraft/src/test/scala/org/apache/nlpcraft/internal/impl/scan/NCTestModelScala.scala
b/nlpcraft/src/test/scala/org/apache/nlpcraft/internal/impl/scan/NCTestModelScala.scala
index c55fa7f..53858d6 100644
---
a/nlpcraft/src/test/scala/org/apache/nlpcraft/internal/impl/scan/NCTestModelScala.scala
+++
b/nlpcraft/src/test/scala/org/apache/nlpcraft/internal/impl/scan/NCTestModelScala.scala
@@ -31,7 +31,7 @@ object NCTestModelScala:
@NCIntentSample(Array("What are the least performing categories for
the last quarter?"))
def intent(
@NCIntentTerm("single") single: NCEntity,
- @NCIntentTerm("list") list: Seq[NCEntity], // scala Seq.
+ @NCIntentTerm("list") list: Seq[NCEntity],
@NCIntentTerm("opt") opt: Option[NCEntity]
): NCResult = new NCResult()
@@ -39,7 +39,7 @@ object NCTestModelScala:
@NCIntentSampleRef("scan/samples.txt")
def intentImport(
@NCIntentTerm("single") single: NCEntity,
- @NCIntentTerm("list") list: List[NCEntity], // scala List.
+ @NCIntentTerm("list") list: List[NCEntity],
@NCIntentTerm("opt") opt: Option[NCEntity]
): NCResult = new NCResult()
@@ -48,7 +48,7 @@ object NCTestModelScala:
@NCIntentSample(Array("What are the least performing categories for
the last quarter?"))
def intent(
@NCIntentTerm("single") single: NCEntity,
- @NCIntentTerm("list") list: Seq[NCEntity], // scala Seq.
+ @NCIntentTerm("list") list: Seq[NCEntity],
@NCIntentTerm("opt") opt: Option[NCEntity]
) = new NCResult()
@@ -56,7 +56,7 @@ object NCTestModelScala:
@NCIntentSampleRef("scan/samples.txt")
def intentImport(
@NCIntentTerm("single") single: NCEntity,
- @NCIntentTerm("list") list: List[NCEntity], // scala List.
+ @NCIntentTerm("list") list: List[NCEntity],
@NCIntentTerm("opt") opt: Option[NCEntity]
) = new NCResult()
@@ -70,7 +70,7 @@ object NCTestModelScala:
@NCIntentSample(Array("What are the least performing categories for
the last quarter?"))
def intent(
@NCIntentTerm("single") single: NCEntity,
- @NCIntentTerm("list") list: Seq[NCEntity], // scala Seq.
+ @NCIntentTerm("list") list: Seq[NCEntity],
@NCIntentTerm("opt") opt: Option[NCEntity]
): NCResult = new NCResult()
@@ -78,6 +78,6 @@ object NCTestModelScala:
@NCIntentSampleRef("scan/samples.txt")
def intentImport(
@NCIntentTerm("single") single: NCEntity,
- @NCIntentTerm("list") list: List[NCEntity], // scala List.
+ @NCIntentTerm("list") list: List[NCEntity],
@NCIntentTerm("opt") opt: Option[NCEntity]
): NCResult = new NCResult()