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/16 04:23:55 UTC
[incubator-nlpcraft-website] branch master updated: Fixes,
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-website.git
The following commit(s) were added to refs/heads/master by this push:
new 798adec Fixes,
798adec is described below
commit 798adec6185872d671019f80749054369266d38a
Author: Aaron Radzinski <ar...@datalingvo.com>
AuthorDate: Tue Sep 15 21:23:43 2020 -0700
Fixes,
---
data-model.html | 2 +-
intent-matching.html | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/data-model.html b/data-model.html
index de9b7b9..aaf61de 100644
--- a/data-model.html
+++ b/data-model.html
@@ -1154,7 +1154,7 @@ intents:
<td><code>keys</code></td>
<td>
<p>
- Calling <code>java.util.Map#keySet()</code> function on given parameter to a collection of
+ Calling <code>java.util.Map#keySet()</code> function on given parameter to get a collection of
map keys. Applicable to <code>java.util.Map</code> parameters only.
</p>
<p>
diff --git a/intent-matching.html b/intent-matching.html
index ae37bbf..e724956 100644
--- a/intent-matching.html
+++ b/intent-matching.html
@@ -233,7 +233,7 @@ id: intent_matching
<h2 class="section-title">Intent DSL</h2>
<p>
Regardless of how intent is defined - directly in <code>@NCIntent</code> annotation or in external model
- declaration - it follow the exactly the same syntax (here's a full <a target=github href="https://github.com/apache/incubator-nlpcraft/blob/master/src/main/scala/org/apache/nlpcraft/model/intent/impl/antlr4/NCIntentDsl.g4">ANTRL4 grammar</a>).
+ declaration - it follow the exactly the same syntax (here's a full <a target=github href="https://github.com/apache/incubator-nlpcraft/blob/master/nlpcraft/src/main/scala/org/apache/nlpcraft/model/intent/impl/antlr4/NCIntentDsl.g4">ANTRL4 grammar</a>).
</p>
<p>
Intent DSL grammar can be informally described using the following example (order of individual declarations is important):
@@ -241,7 +241,7 @@ id: intent_matching
<pre class="brush: js">
intent=my_intent
conv=true
- order=true
+ ordered=true
flow='id* >> (id2|id3)[2,3]'
term(term1)={group @@ 'my_group'}?
term(term2)={trim(partId.partAlias.id) == 'token1:id'}[1,3]