This is an automated email from the ASF dual-hosted git repository.
aradzinski pushed a commit to branch web-site
in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft-website.git
The following commit(s) were added to refs/heads/web-site by this push:
new e077c34 WIP for 0.9.0 release.
e077c34 is described below
commit e077c3450cb0b125cc69dd61ff140e3e340206d8
Author: Aaron Radzinzski <[email protected]>
AuthorDate: Tue Aug 3 23:02:24 2021 -0700
WIP for 0.9.0 release.
---
assets/css/style.css | 4 +-
assets/css/style.css.map | 56 ----------------------
blogs.html | 2 +-
blogs/composable_named_entities.html | 2 +-
blogs/nlpcraft-idl-intent-definition-language.html | 4 +-
blogs/quick_intro_apache_nlpcraft.html | 2 +-
blogs/short_term_memory.html | 2 +-
download.html | 2 +-
feed.xml | 2 +-
index.html | 2 +-
intent-matching.html | 49 +++++++++++++++----
11 files changed, 50 insertions(+), 77 deletions(-)
diff --git a/assets/css/style.css b/assets/css/style.css
index 1ef748e..e8de8bb 100644
--- a/assets/css/style.css
+++ b/assets/css/style.css
@@ -1,3 +1 @@
-@font-face{font-family:'CanaroBlack';src:url("../../fonts/rene_bieder_-_canaro_black-webfont.eot");src:url("../../fonts/rene_bieder_-_canaro_black-webfont.eot?#iefix")
format("embedded-opentype"),url("../../fonts/rene_bieder_-_canaro_black-webfont.woff")
format("woff"),url("../../fonts/rene_bieder_-_canaro_black-webfont.ttf")
format("truetype"),url("../../fonts/rene_bieder_-_canaro_black-webfont.svg#canaroblack")
format("svg");font-weight:normal;font-style:normal}@font-face{font-family:'
[...]
-
-/*# sourceMappingURL=style.css.map */
\ No newline at end of file
+@font-face{font-family:'CanaroBlack';src:url("../../fonts/rene_bieder_-_canaro_black-webfont.eot");src:url("../../fonts/rene_bieder_-_canaro_black-webfont.eot?#iefix")
format("embedded-opentype"),url("../../fonts/rene_bieder_-_canaro_black-webfont.woff")
format("woff"),url("../../fonts/rene_bieder_-_canaro_black-webfont.ttf")
format("truetype"),url("../../fonts/rene_bieder_-_canaro_black-webfont.svg#canaroblack")
format("svg");font-weight:normal;font-style:normal}@font-face{font-family:'
[...]
diff --git a/assets/css/style.css.map b/assets/css/style.css.map
deleted file mode 100644
index d8de52d..0000000
--- a/assets/css/style.css.map
+++ /dev/null
@@ -1,56 +0,0 @@
-{
- "version": 3,
- "file": "style.css",
- "sources": [
- "style.scss",
- "_scss/fonts.scss",
- "_scss/colors.scss",
- "_scss/misc.scss",
- "_scss/header.scss",
- "_scss/footer.scss",
- "_scss/sh.scss",
- "_scss/index.scss",
- "_scss/404.scss",
- "_scss/buttons.scss",
- "_scss/download.scss",
- "_scss/example.scss",
- "_scss/three-cols.scss",
- "_scss/use-cases.scss",
- "_scss/server-and-probes.scss",
- "_scss/metrics-and-tracing.scss",
- "_scss/short-term-memory.scss",
- "_scss/integrations.scss",
- "_scss/installation.scss",
- "_scss/intent-matching.scss",
- "_scss/community.scss",
- "_scss/blogs.scss",
- "_scss/relnotes.scss"
- ],
- "sourcesContent": [
- "/*\n * Licensed to the Apache Software Foundation (ASF) under
one or more\n * contributor license agreements. See the NOTICE file
distributed with\n * this work for additional information regarding copyright
ownership.\n * The ASF licenses this file to You under the Apache License,
Version 2.0\n * (the \"License\"); you may not use this file except in
compliance with\n * the License. You may obtain a copy of the License at\n *\n
* http://www.apache.org/licenses/LICENSE-2.0\n *\ [...]
- "/*\r\n * Licensed to the Apache Software Foundation (ASF)
under one or more\r\n * contributor license agreements. See the NOTICE file
distributed with\r\n * this work for additional information regarding copyright
ownership.\r\n * The ASF licenses this file to You under the Apache License,
Version 2.0\r\n * (the \"License\"); you may not use this file except in
compliance with\r\n * the License. You may obtain a copy of the License at\r\n
*\r\n * http://www.apache.org/licenses/ [...]
- "/*\r\n * Licensed to the Apache Software Foundation (ASF)
under one or more\r\n * contributor license agreements. See the NOTICE file
distributed with\r\n * this work for additional information regarding copyright
ownership.\r\n * The ASF licenses this file to You under the Apache License,
Version 2.0\r\n * (the \"License\"); you may not use this file except in
compliance with\r\n * the License. You may obtain a copy of the License at\r\n
*\r\n * http://www.apache.org/licenses/ [...]
- "/*\r\n * Licensed to the Apache Software Foundation (ASF)
under one or more\r\n * contributor license agreements. See the NOTICE file
distributed with\r\n * this work for additional information regarding copyright
ownership.\r\n * The ASF licenses this file to You under the Apache License,
Version 2.0\r\n * (the \"License\"); you may not use this file except in
compliance with\r\n * the License. You may obtain a copy of the License at\r\n
*\r\n * http://www.apache.org/licenses/ [...]
- "/*\r\n * Licensed to the Apache Software Foundation (ASF)
under one or more\r\n * contributor license agreements. See the NOTICE file
distributed with\r\n * this work for additional information regarding copyright
ownership.\r\n * The ASF licenses this file to You under the Apache License,
Version 2.0\r\n * (the \"License\"); you may not use this file except in
compliance with\r\n * the License. You may obtain a copy of the License at\r\n
*\r\n * http://www.apache.org/licenses/ [...]
- "/*\r\n * Licensed to the Apache Software Foundation (ASF)
under one or more\r\n * contributor license agreements. See the NOTICE file
distributed with\r\n * this work for additional information regarding copyright
ownership.\r\n * The ASF licenses this file to You under the Apache License,
Version 2.0\r\n * (the \"License\"); you may not use this file except in
compliance with\r\n * the License. You may obtain a copy of the License at\r\n
*\r\n * http://www.apache.org/licenses/ [...]
- "/*\r\n * Licensed to the Apache Software Foundation (ASF)
under one or more\r\n * contributor license agreements. See the NOTICE file
distributed with\r\n * this work for additional information regarding copyright
ownership.\r\n * The ASF licenses this file to You under the Apache License,
Version 2.0\r\n * (the \"License\"); you may not use this file except in
compliance with\r\n * the License. You may obtain a copy of the License at\r\n
*\r\n * http://www.apache.org/licenses/ [...]
- "/*\r\n * Licensed to the Apache Software Foundation (ASF)
under one or more\r\n * contributor license agreements. See the NOTICE file
distributed with\r\n * this work for additional information regarding copyright
ownership.\r\n * The ASF licenses this file to You under the Apache License,
Version 2.0\r\n * (the \"License\"); you may not use this file except in
compliance with\r\n * the License. You may obtain a copy of the License at\r\n
*\r\n * http://www.apache.org/licenses/ [...]
- "/*\r\n * Licensed to the Apache Software Foundation (ASF)
under one or more\r\n * contributor license agreements. See the NOTICE file
distributed with\r\n * this work for additional information regarding copyright
ownership.\r\n * The ASF licenses this file to You under the Apache License,
Version 2.0\r\n * (the \"License\"); you may not use this file except in
compliance with\r\n * the License. You may obtain a copy of the License at\r\n
*\r\n * http://www.apache.org/licenses/ [...]
- "/*\r\n * Licensed to the Apache Software Foundation (ASF)
under one or more\r\n * contributor license agreements. See the NOTICE file
distributed with\r\n * this work for additional information regarding copyright
ownership.\r\n * The ASF licenses this file to You under the Apache License,
Version 2.0\r\n * (the \"License\"); you may not use this file except in
compliance with\r\n * the License. You may obtain a copy of the License at\r\n
*\r\n * http://www.apache.org/licenses/ [...]
- "/*\r\n * Licensed to the Apache Software Foundation (ASF)
under one or more\r\n * contributor license agreements. See the NOTICE file
distributed with\r\n * this work for additional information regarding copyright
ownership.\r\n * The ASF licenses this file to You under the Apache License,
Version 2.0\r\n * (the \"License\"); you may not use this file except in
compliance with\r\n * the License. You may obtain a copy of the License at\r\n
*\r\n * http://www.apache.org/licenses/ [...]
- "/*\r\n * Licensed to the Apache Software Foundation (ASF)
under one or more\r\n * contributor license agreements. See the NOTICE file
distributed with\r\n * this work for additional information regarding copyright
ownership.\r\n * The ASF licenses this file to You under the Apache License,
Version 2.0\r\n * (the \"License\"); you may not use this file except in
compliance with\r\n * the License. You may obtain a copy of the License at\r\n
*\r\n * http://www.apache.org/licenses/ [...]
- "/*\r\n * Licensed to the Apache Software Foundation (ASF)
under one or more\r\n * contributor license agreements. See the NOTICE file
distributed with\r\n * this work for additional information regarding copyright
ownership.\r\n * The ASF licenses this file to You under the Apache License,
Version 2.0\r\n * (the \"License\"); you may not use this file except in
compliance with\r\n * the License. You may obtain a copy of the License at\r\n
*\r\n * http://www.apache.org/licenses/ [...]
- "/*\r\n * Licensed to the Apache Software Foundation (ASF)
under one or more\r\n * contributor license agreements. See the NOTICE file
distributed with\r\n * this work for additional information regarding copyright
ownership.\r\n * The ASF licenses this file to You under the Apache License,
Version 2.0\r\n * (the \"License\"); you may not use this file except in
compliance with\r\n * the License. You may obtain a copy of the License at\r\n
*\r\n * http://www.apache.org/licenses/ [...]
- "/*\r\n * Licensed to the Apache Software Foundation (ASF)
under one or more\r\n * contributor license agreements. See the NOTICE file
distributed with\r\n * this work for additional information regarding copyright
ownership.\r\n * The ASF licenses this file to You under the Apache License,
Version 2.0\r\n * (the \"License\"); you may not use this file except in
compliance with\r\n * the License. You may obtain a copy of the License at\r\n
*\r\n * http://www.apache.org/licenses/ [...]
- "/*\r\n * Licensed to the Apache Software Foundation (ASF)
under one or more\r\n * contributor license agreements. See the NOTICE file
distributed with\r\n * this work for additional information regarding copyright
ownership.\r\n * The ASF licenses this file to You under the Apache License,
Version 2.0\r\n * (the \"License\"); you may not use this file except in
compliance with\r\n * the License. You may obtain a copy of the License at\r\n
*\r\n * http://www.apache.org/licenses/ [...]
- "/*\r\n * Licensed to the Apache Software Foundation (ASF)
under one or more\r\n * contributor license agreements. See the NOTICE file
distributed with\r\n * this work for additional information regarding copyright
ownership.\r\n * The ASF licenses this file to You under the Apache License,
Version 2.0\r\n * (the \"License\"); you may not use this file except in
compliance with\r\n * the License. You may obtain a copy of the License at\r\n
*\r\n * http://www.apache.org/licenses/ [...]
- "/*\r\n * Licensed to the Apache Software Foundation (ASF)
under one or more\r\n * contributor license agreements. See the NOTICE file
distributed with\r\n * this work for additional information regarding copyright
ownership.\r\n * The ASF licenses this file to You under the Apache License,
Version 2.0\r\n * (the \"License\"); you may not use this file except in
compliance with\r\n * the License. You may obtain a copy of the License at\r\n
*\r\n * http://www.apache.org/licenses/ [...]
- "/*\r\n * Licensed to the Apache Software Foundation (ASF)
under one or more\r\n * contributor license agreements. See the NOTICE file
distributed with\r\n * this work for additional information regarding copyright
ownership.\r\n * The ASF licenses this file to You under the Apache License,
Version 2.0\r\n * (the \"License\"); you may not use this file except in
compliance with\r\n * the License. You may obtain a copy of the License at\r\n
*\r\n * http://www.apache.org/licenses/ [...]
- "/*\r\n * Licensed to the Apache Software Foundation (ASF)
under one or more\r\n * contributor license agreements. See the NOTICE file
distributed with\r\n * this work for additional information regarding copyright
ownership.\r\n * The ASF licenses this file to You under the Apache License,
Version 2.0\r\n * (the \"License\"); you may not use this file except in
compliance with\r\n * the License. You may obtain a copy of the License at\r\n
*\r\n * http://www.apache.org/licenses/ [...]
- "/*\r\n * Licensed to the Apache Software Foundation (ASF)
under one or more\r\n * contributor license agreements. See the NOTICE file
distributed with\r\n * this work for additional information regarding copyright
ownership.\r\n * The ASF licenses this file to You under the Apache License,
Version 2.0\r\n * (the \"License\"); you may not use this file except in
compliance with\r\n * the License. You may obtain a copy of the License at\r\n
*\r\n * http://www.apache.org/licenses/ [...]
- "/*\r\n * Licensed to the Apache Software Foundation (ASF)
under one or more\r\n * contributor license agreements. See the NOTICE file
distributed with\r\n * this work for additional information regarding copyright
ownership.\r\n * The ASF licenses this file to You under the Apache License,
Version 2.0\r\n * (the \"License\"); you may not use this file except in
compliance with\r\n * the License. You may obtain a copy of the License at\r\n
*\r\n * http://www.apache.org/licenses/ [...]
- "/*\r\n * Licensed to the Apache Software Foundation (ASF)
under one or more\r\n * contributor license agreements. See the NOTICE file
distributed with\r\n * this work for additional information regarding copyright
ownership.\r\n * The ASF licenses this file to You under the Apache License,
Version 2.0\r\n * (the \"License\"); you may not use this file except in
compliance with\r\n * the License. You may obtain a copy of the License at\r\n
*\r\n * http://www.apache.org/licenses/ [...]
- ],
- "names": [],
- "mappings":
"ACiBA,UAAU,CACN,WAAW,CAAE,aAAa,CAC1B,GAAG,CAAE,yDAAyD,CAC9D,GAAG,CAAE,gEAAgE,CAAC,2BAA2B,CAC7F,0DAA0D,CAAC,cAAc,CACzE,yDAAyD,CAAC,kBAAkB,CAC5E,qEAAqE,CAAC,aAAa,CACvF,WAAW,CAAE,MAAM,CACnB,UAAU,CAAE,MAAM,CAGtB,UAAU,CACN,WAAW,CAAE,YAAY,CACzB,GAAG,CAAE,wDAAwD,CAC7D,GAAG,CAAE,+DAA+D,CAAC,2BAA2B,CAC5F,yDAAyD,CAAC,cAAc,CACxE,wDAAwD,CAAC,kBAAkB,CAC3E,wEAAwE,CAAC,aAAa,CAC1F,WAAW,CAAE,MAAM,CACnB,UAAU,CAAE,MAAM,CAGtB,UAAU,CACN,WAAW,CAAE,YAAY,CACzB,GAAG,CAAE,wDAAwD,CAC7D,GAAG,CAAE,+DAA
[...]
-}
\ No newline at end of file
diff --git a/blogs.html b/blogs.html
index f280531..655273a 100644
--- a/blogs.html
+++ b/blogs.html
@@ -15,4 +15,4 @@
limitations under the License.
-->
-<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
+<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
diff --git a/blogs/composable_named_entities.html
b/blogs/composable_named_entities.html
index f548598..7a1bb43 100644
--- a/blogs/composable_named_entities.html
+++ b/blogs/composable_named_entities.html
@@ -15,7 +15,7 @@
limitations under the License.
-->
-<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
+<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
"elements": [
{
"id": "custom:city:usa",
diff --git a/blogs/nlpcraft-idl-intent-definition-language.html
b/blogs/nlpcraft-idl-intent-definition-language.html
index 2e31fec..cb6e4b2 100644
--- a/blogs/nlpcraft-idl-intent-definition-language.html
+++ b/blogs/nlpcraft-idl-intent-definition-language.html
@@ -15,7 +15,7 @@
limitations under the License.
-->
-<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
+<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
intent=xa
flow="^(?:login)(^:logout)*$"
meta={'enabled': true}
@@ -89,4 +89,4 @@
term~{tok_id() == 'some_id'}"
)
def onX(): NCResult = { .. }
- </pre><p> The predicate defined in the method
<code>customFlow()</code> receives at the input a list with all intents
information, previously matched within the current session, and returns a
boolean value.</p><li><p><b>Intent Metadata</b></p><p> Optional element. A
additional dataset that can be used by term predicates presented in JSON
format.</p></ul></section><section><h2 class="section-title">Why Do We Need
NLPCraft IDL? <a href="#"><i class="top-link fas fa-fw fa-angle- [...]
+ </pre><p> The predicate defined in the method
<code>customFlow()</code> receives at the input a list with all intents
information, previously matched within the current session, and returns a
boolean value.</p><li><p><b>Intent Metadata</b></p><p> Optional element. A
additional dataset that can be used by term predicates presented in JSON
format.</p></ul></section><section><h2 class="section-title">Why Do We Need
NLPCraft IDL? <a href="#"><i class="top-link fas fa-fw fa-angle- [...]
diff --git a/blogs/quick_intro_apache_nlpcraft.html
b/blogs/quick_intro_apache_nlpcraft.html
index 2ec4aa5..8b2b912 100644
--- a/blogs/quick_intro_apache_nlpcraft.html
+++ b/blogs/quick_intro_apache_nlpcraft.html
@@ -15,7 +15,7 @@
limitations under the License.
-->
-<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
+<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
id: "nlpcraft.lightswitch.ex"
name: "Light Switch Example Model"
version: "1.0"
diff --git a/blogs/short_term_memory.html b/blogs/short_term_memory.html
index 7c6fec8..4772832 100644
--- a/blogs/short_term_memory.html
+++ b/blogs/short_term_memory.html
@@ -15,4 +15,4 @@
limitations under the License.
-->
-<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
+<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
diff --git a/download.html b/download.html
index fb4a04a..95c0a7f 100644
--- a/download.html
+++ b/download.html
@@ -15,7 +15,7 @@
limitations under the License.
-->
-<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
+<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
$ unzip -q apache-nlpcraft-incubating-0.9.0.zip
$ cd apache-nlpcraft-incubating-0.9.0
</pre><b>Build NLPCraft:</b><pre class="brush: bash">
diff --git a/feed.xml b/feed.xml
index fdb42e6..f5bc555 100644
--- a/feed.xml
+++ b/feed.xml
@@ -1 +1 @@
-<?xml version="1.0" encoding="utf-8"?><feed
xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/"
version="4.1.1">Jekyll</generator><link href="http://localhost:4000/feed.xml"
rel="self" type="application/atom+xml" /><link href="http://localhost:4000/"
rel="alternate" type="text/html"
/><updated>2021-07-31T23:07:23-07:00</updated><id>http://localhost:4000/feed.xml</id><title
type="html">Apache NLPCraft</title></feed>
\ No newline at end of file
+<?xml version="1.0" encoding="utf-8"?><feed
xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/"
version="3.8.5">Jekyll</generator><link href="http://localhost:4000/feed.xml"
rel="self" type="application/atom+xml" /><link href="http://localhost:4000/"
rel="alternate" type="text/html"
/><updated>2021-08-03T21:55:08-07:00</updated><id>http://localhost:4000/feed.xml</id><title
type="html">Apache NLPCraft</title></feed>
\ No newline at end of file
diff --git a/index.html b/index.html
index 43eb943..c4afa31 100644
--- a/index.html
+++ b/index.html
@@ -15,4 +15,4 @@
limitations under the License.
-->
-<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
+<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
diff --git a/intent-matching.html b/intent-matching.html
index f4773db..5a8e193 100644
--- a/intent-matching.html
+++ b/intent-matching.html
@@ -15,11 +15,11 @@
limitations under the License.
-->
-<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
+<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
intent=x
term(a)~{tok_id() == 'my_elm'}
term(b)={has(tok_groups(), "my_group")}
- </pre><p> IDL intent defines a match between the parsed user input
represented as the collection of <a class="not-code" target="javadoc"
href="/apis/latest/org/apache/nlpcraft/model/NCToken.html">tokens</a>, and the
user-define callback method. IDL intents are <a href="#binding">bound</a> to
their callbacks via <a href="#binding">Java annotation</a> and can be <a
href="#idl_location">located</a> in the same Java annotations or placed in
model YAML/JSON file as well as in external [...]
+ </pre><p> IDL intent defines a match between the parsed user input
represented as the collection of <a class="not-code" target="javadoc"
href="/apis/latest/org/apache/nlpcraft/model/NCToken.html">tokens</a>, and the
user-define callback method. IDL intents are <a href="#binding">bound</a> to
their callbacks via <a href="#binding">Java annotation</a> and can be <a
href="#idl_location">located</a> in the same Java annotations or placed in
model YAML/JSON file as well as in external [...]
intent=xa
flow="^(?:login)(^:logout)*$"
meta={'enabled': true}
@@ -42,7 +42,7 @@
flow=/#flowModelMethod/
term(a)=/org.mypackage.MyClass#termMethod/?
fragment(frag, {'p1': 25, 'p2': {'a': false}})
- </pre><p><b>NOTES:</b></p><dl><dt> <code>intent=xa</code>
<sup><small>line 1</small></sup><br/> <code>intent=xb</code> <sup><small>line
12</small></sup><dd> <code>xa</code> and <code>xb</code> are the mandatory
intent IDs. Intent ID is any arbitrary unique string matching the following
lexer template:
<code>(UNI_CHAR|UNDERSCORE|LETTER|DOLLAR)+(UNI_CHAR|DOLLAR|LETTER|[0-9]|COLON|MINUS|UNDERSCORE)*</code><dt><code>options={...}</code>
<sup><small>line 13</small></sup><dd> < [...]
+ </pre><p><b>NOTES:</b></p><dl><dt> <code>intent=xa</code>
<sup><small>line 1</small></sup><br/> <code>intent=xb</code> <sup><small>line
12</small></sup><dd> <code>xa</code> and <code>xb</code> are the mandatory
intent IDs. Intent ID is any arbitrary unique string matching the following
lexer template:
<code>(UNI_CHAR|UNDERSCORE|LETTER|DOLLAR)+(UNI_CHAR|DOLLAR|LETTER|[0-9]|COLON|MINUS|UNDERSCORE)*</code><dt><code>options={...}</code>
<sup><small>line 13</small></sup><dd> < [...]
term(b)~{
@a = meta_model('a')
@lst = list(1, 2, 3, 4)
@@ -175,7 +175,7 @@ has(tok_aliases(tok_this()), 'alias')
</pre></div></div></div><div class="card"><div class="card-header"><h2
class="mb-0"> <button class="btn btn-link btn-block text-left" type="button"
data-toggle="collapse" data-target="#fn_tok_start_idx">
<span><code><b>tok_start_idx</b>(t: Token<em><sub>opt</sub></em>) ⇒ Long
</code></span> <span class="fn-short-desc">Gets <a class="not-code"
target="javadoc"
href="/apis/latest/org/apache/nlpcraft/model/NCToken.html#getStartCharIndex()">start
character index</a> of this token in the orig [...]
tok_start_idx()
tok_start_idx(tok_this())
-</pre></div></div></div><div class="card"><div class="card-header"><h2
class="mb-0"> <button class="btn btn-link btn-block text-left" type="button"
data-toggle="collapse" data-target="#fn_tok_end_idx">
<span><code><b>tok_end_idx</b>(t: Token<em><sub>opt</sub></em>) ⇒ Long
</code></span> <span class="fn-short-desc">Gets <a class="not-code"
target="javadoc"
href="/apis/latest/org/apache/nlpcraft/model/NCToken.html#getEndCharIndex()">end
character index</a> of this token in the original tex [...]
+</pre></div></div></div><div class="card"><div class="card-header"><h2
class="mb-0"> <button class="btn btn-link btn-block text-left" type="button"
data-toggle="collapse" data-target="#fn_tok_end_idx">
<span><code><b>tok_end_idx</b>(t: Token<em><sub>opt</sub></em>) ⇒ Long
</code></span> <span class="fn-short-desc">Gets <a class="not-code"
target="javadoc"
href="/apis/latest/org/apache/nlpcraft/model/NCToken.html#getEndCharIndex()">end
character index</a> of this token in the original tex [...]
tok_end_idx()
tok_end_idx(tok_this())
</pre></div></div></div><div class="card"><div class="card-header"><h2
class="mb-0"> <button class="btn btn-link btn-block text-left" type="button"
data-toggle="collapse" data-target="#fn_tok_this">
<span><code><b>tok_this</b>() ⇒ Token </code></span> <span
class="fn-short-desc">Returns current token.</span> </button></h2></div><div
id="fn_tok_this" class="collapse" data-parent="#token_fns"><div
class="card-body"><p class="fn-desc"> <em>Description:</em><br> Returns current
token.</p><p [...]
@@ -196,6 +196,37 @@ tok_find_parts(tok_this(), 'alias')
@this = tok_this()
@parts = tok_find_parts(@this, 'alias')
@tok = if(is_empty(@parts), @this, first(@parts))
+</pre></div></div></div><div class="card"><div class="card-header"><h2
class="mb-0"> <button class="btn btn-link btn-block text-left" type="button"
data-toggle="collapse" data-target="#fn_tok_index">
<span><code><b>tok_index</b>(t: Token<em><sub>opt</sub></em>) ⇒ Long
</code></span> <span class="fn-short-desc">Returns token's index in the
original input</span> </button></h2></div><div id="fn_tok_index"
class="collapse" data-parent="#token_fns"><div class="card-body"><p
class="fn-desc"> < [...]
+tok_index() == 1
+tok_index(tok_this()) == 1
+</pre></div></div></div><div class="card"><div class="card-header"><h2
class="mb-0"> <button class="btn btn-link btn-block text-left" type="button"
data-toggle="collapse" data-target="#fn_tok_is_first">
<span><code><b>tok_is_first</b>(t: Token<em><sub>opt</sub></em>) ⇒ Boolean
</code></span> <span class="fn-short-desc">Returns <code>true</code> if this
token is the first in the original input</span> </button></h2></div><div
id="fn_tok_is_first" class="collapse" data-parent="#token_fns">< [...]
+tok_is_first()
+tok_is_first(tok_this())
+</pre></div></div></div><div class="card"><div class="card-header"><h2
class="mb-0"> <button class="btn btn-link btn-block text-left" type="button"
data-toggle="collapse" data-target="#fn_tok_is_last">
<span><code><b>tok_is_last</b>(t: Token<em><sub>opt</sub></em>) ⇒ Boolean
</code></span> <span class="fn-short-desc">Returns <code>true</code> if this
token is the last in the original input</span> </button></h2></div><div
id="fn_tok_is_last" class="collapse" data-parent="#token_fns"><div [...]
+tok_is_last()
+tok_is_last(tok_this())
+</pre></div></div></div><div class="card"><div class="card-header"><h2
class="mb-0"> <button class="btn btn-link btn-block text-left" type="button"
data-toggle="collapse" data-target="#fn_tok_is_before_id">
<span><code><b>tok_is_before_id</b>(id: String) ⇒ Boolean </code></span> <span
class="fn-short-desc">Returns <code>true</code> if there is a token with ID
<code>id</code> after this token</span> </button></h2></div><div
id="fn_tok_is_before_id" class="collapse" data-parent="#token_fns [...]
+tok_is_before_id('a')
+</pre></div></div></div><div class="card"><div class="card-header"><h2
class="mb-0"> <button class="btn btn-link btn-block text-left" type="button"
data-toggle="collapse" data-target="#fn_tok_is_after_id">
<span><code><b>tok_is_after_id</b>(id: String) ⇒ Boolean </code></span> <span
class="fn-short-desc">Returns <code>true</code> if there is a token with ID
<code>id</code> before this token</span> </button></h2></div><div
id="fn_tok_is_after_id" class="collapse" data-parent="#token_fns"> [...]
+tok_is_after_id('a')
+</pre></div></div></div><div class="card"><div class="card-header"><h2
class="mb-0"> <button class="btn btn-link btn-block text-left" type="button"
data-toggle="collapse" data-target="#fn_tok_is_before_group">
<span><code><b>tok_is_before_group</b>(grp: String) ⇒ Boolean </code></span>
<span class="fn-short-desc">Returns <code>true</code> if there is a token that
belongs to the <a class="not-code" target="javadoc"
href="/apis/latest/org/apache/nlpcraft/model/NCToken.html#getGroups()">gro [...]
+tok_is_before_group('grp')
+</pre></div></div></div><div class="card"><div class="card-header"><h2
class="mb-0"> <button class="btn btn-link btn-block text-left" type="button"
data-toggle="collapse" data-target="#fn_tok_is_after_group">
<span><code><b>tok_is_after_group</b>(grp: String) ⇒ Boolean </code></span>
<span class="fn-short-desc">Returns <code>true</code> if there is a token that
belongs to the <a class="not-code" target="javadoc"
href="/apis/latest/org/apache/nlpcraft/model/NCToken.html#getGroups()">group
[...]
+tok_is_after_group('grp')
+</pre></div></div></div><div class="card"><div class="card-header"><h2
class="mb-0"> <button class="btn btn-link btn-block text-left" type="button"
data-toggle="collapse" data-target="#fn_tok_is_after_parent">
<span><code><b>tok_is_after_parent</b>(parentId: String) ⇒ Boolean
</code></span> <span class="fn-short-desc">Returns <code>true</code> if there
is a token with <a class="not-code" target="javadoc"
href="/apis/latest/org/apache/nlpcraft/model/NCToken.html#getParentId()">parent
ID</ [...]
+tok_is_after_parent('owner')
+</pre></div></div></div><div class="card"><div class="card-header"><h2
class="mb-0"> <button class="btn btn-link btn-block text-left" type="button"
data-toggle="collapse" data-target="#fn_tok_is_before_parent">
<span><code><b>tok_is_before_parent</b>(parentId: String) ⇒ Boolean
</code></span> <span class="fn-short-desc">Returns <code>true</code> if there
is a token with <a class="not-code" target="javadoc"
href="/apis/latest/org/apache/nlpcraft/model/NCToken.html#getParentId()">parent
ID [...]
+tok_is_before_parent('owner')
+</pre></div></div></div><div class="card"><div class="card-header"><h2
class="mb-0"> <button class="btn btn-link btn-block text-left" type="button"
data-toggle="collapse" data-target="#fn_tok_all"> <span><code><b>tok_all</b>()
⇒ List[Token] </code></span> <span class="fn-short-desc">Returns all tokens
from the original input </span> </button></h2></div><div id="fn_tok_all"
class="collapse" data-parent="#token_fns"><div class="card-body"><p
class="fn-desc"> <em>Description:</em><br> Retur [...]
+tok_all()
+</pre></div></div></div><div class="card"><div class="card-header"><h2
class="mb-0"> <button class="btn btn-link btn-block text-left" type="button"
data-toggle="collapse" data-target="#fn_tok_count">
<span><code><b>tok_count</b>() ⇒ Long </code></span> <span
class="fn-short-desc">Returns number of tokens from the original input </span>
</button></h2></div><div id="fn_tok_count" class="collapse"
data-parent="#token_fns"><div class="card-body"><p class="fn-desc">
<em>Description:</em><br> [...]
+tok_count()
+</pre></div></div></div><div class="card"><div class="card-header"><h2
class="mb-0"> <button class="btn btn-link btn-block text-left" type="button"
data-toggle="collapse" data-target="#fn_tok_all_for_id">
<span><code><b>tok_all_for_id</b>(id: String) ⇒ List[Token] </code></span>
<span class="fn-short-desc">Returns list of tokens from the original input with
ID <code>id</code> </span> </button></h2></div><div id="fn_tok_all_for_id"
class="collapse" data-parent="#token_fns"><div class="car [...]
+tok_all_for_id('id')
+</pre></div></div></div><div class="card"><div class="card-header"><h2
class="mb-0"> <button class="btn btn-link btn-block text-left" type="button"
data-toggle="collapse" data-target="#fn_tok_all_for_parent">
<span><code><b>tok_all_for_id</b>(parentId: String) ⇒ List[Token]
</code></span> <span class="fn-short-desc">Returns list of tokens from the
original input with parent ID <code>parentId</code> </span>
</button></h2></div><div id="fn_tok_all_for_parent" class="collapse"
data-parent=" [...]
+tok_all_for_parent('id')
+</pre></div></div></div><div class="card"><div class="card-header"><h2
class="mb-0"> <button class="btn btn-link btn-block text-left" type="button"
data-toggle="collapse" data-target="#fn_tok_all_for_group">
<span><code><b>tok_all_for_group</b>(grp: String) ⇒ List[Token] </code></span>
<span class="fn-short-desc">Returns list of tokens from the original input that
belong to the group <code>grp</code> </span> </button></h2></div><div
id="fn_tok_all_for_group" class="collapse" data-parent= [...]
+tok_all_for_group('grp')
</pre></div></div></div></div></div><div class="tab-pane fade show"
id="fn_text" role="tabpanel"><div class="accordion" id="text_fns"><div
class="card"><div class="card-header"><h2 class="mb-0"> <button class="btn
btn-link btn-block text-left" type="button" data-toggle="collapse"
data-target="#fn_length"> <span><code><b>length</b>(p: {String|List|Map}) ⇒
Long </code></span> <span class="fn-short-desc">Returns size or length of the
given string, list or map</span> </button></h2></div><div [...]
length("some text")
@@ -440,8 +471,8 @@ to_string(list(1, 2, 3))
@dflt = 'text'
or_else(meta_model('some_prop'), @dflt)
</pre></div></div></div></div></div></div></section><section><h2
id="idl_location" class="section-title">IDL Location <a href="#"><i
class="top-link fas fa-fw fa-angle-double-up"></i></a></h2><p> IDL declarations
can be placed in different locations based on user preferences:</p><ul><li><p>
<a target="javadoc"
href="/apis/latest/org/apache/nlpcraft/model/NCIntent.html">@NCIntent</a>
annotation takes a string as its parameter that should be a valid IDL
declaration. For example, Scala code [...]
- @NCIntent("import('/opt/myproj/global_fragments.idl')")
- @NCIntent("intent=act term(act)={has(tok_groups(), 'act')}
fragment(f1)")
+ @NCIntent("import('/opt/myproj/global_fragments.idl')") //
Importing.
+ @NCIntent("intent=act term(act)={has(tok_groups(), 'act')}
fragment(f1)") // Defining in place.
def onMatch(
@NCIntentTerm("act") actTok: NCToken,
@NCIntentTerm("loc") locToks: List[NCToken]
@@ -456,9 +487,9 @@ or_else(meta_model('some_prop'), @dflt)
.
.
"intents": [
- "import('/opt/myproj/global_fragments.idl')",
- "import('/opt/myproj/my_intents.idl')",
- "intent=alarm term~{tok_id()=='x:alarm'}"
+ "import('/opt/myproj/global_fragments.idl')", //
Importing.
+ "import('/opt/myproj/my_intents.idl')", // Importing.
+ "intent=alarm term~{tok_id()=='x:alarm'}" // Defining
in place.
]
}
</pre><li> External <code>*.idl</code> files contain IDL
declarations and can be imported in any other places where IDL declarations are
allowed. See <code>import()</code> statement explanation below. For
example:<pre class="brush: idl">