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 ca51a2d Update package-info.java
ca51a2d is described below
commit ca51a2da2034b671b6a685f1b97bbb232185d4a0
Author: Aaron Radzinski <[email protected]>
AuthorDate: Sun Sep 20 15:23:43 2020 -0700
Update package-info.java
---
.../org/apache/nlpcraft/model/tools/test/package-info.java | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git
a/nlpcraft/src/main/scala/org/apache/nlpcraft/model/tools/test/package-info.java
b/nlpcraft/src/main/scala/org/apache/nlpcraft/model/tools/test/package-info.java
index bda4d79..14a9948 100644
---
a/nlpcraft/src/main/scala/org/apache/nlpcraft/model/tools/test/package-info.java
+++
b/nlpcraft/src/main/scala/org/apache/nlpcraft/model/tools/test/package-info.java
@@ -57,8 +57,14 @@
* }
* </pre>
* <p>
- * You can also <b>auto-test</b> the same model by using {@link
org.apache.nlpcraft.model.tools.test.NCTestAutoModelValidator} class without any
- * additional coding utilizing {@link
org.apache.nlpcraft.model.NCIntentSample} annotation on the models' callback
method. Add necessary classpath to:
+ * You can also automatically <b>verify</b> the same model by using {@link
org.apache.nlpcraft.model.tools.test.NCTestAutoModelValidator} class without any
+ * additional coding utilizing {@link
org.apache.nlpcraft.model.NCIntentSample} annotation on the models' callback
method.
+ * This automatic model validation consists of starting an embedded probe with
a given model, scanning
+ * for {@link org.apache.nlpcraft.model.NCIntentSample} annotations and their
corresponding callback methods,
+ * submitting each sample input sentences from {@link
org.apache.nlpcraft.model.NCIntentSample} annotation and checking
+ * that resulting intent matches the intent the sample was attached to.
+ * <p>
+ * Add necessary classpath and run the following command:
* <pre class="brush: plain">
* java -ea
-DNLPCRAFT_TEST_MODELS=org.apache.nlpcraft.examples.alarm.AlarmModel
org.apache.nlpcraft.model.tools.test.NCTestAutoModelValidator
* </pre>