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 b26c3e9 Website update.
b26c3e9 is described below
commit b26c3e98678c8f1c5164aa981d55b88629102c5a
Author: Aaron Radzinski <[email protected]>
AuthorDate: Fri Aug 13 17:15:30 2021 -0700
Website update.
---
404.html | 2 +-
Gemfile | 26 ----------
assets/css/style.css | 4 +-
assets/css/style.css.map | 56 +++++++++++++++++++++
blogs.html | 18 -------
blogs/composable_named_entities.html | 4 +-
blogs/nlpcraft-idl-intent-definition-language.html | 4 +-
blogs/quick_intro_apache_nlpcraft.html | 4 +-
blogs/short_term_memory.html | 2 +-
cheat-sheet.html | 4 +-
community.html | 4 +-
data-model.html | 4 +-
docs.html | 2 +-
download.html | 4 +-
examples/alarm_clock.html | 4 +-
examples/light_switch.html | 4 +-
examples/sql_model.html | 4 +-
examples/weather_bot.html | 4 +-
feed.xml | 2 +-
first-example.html | 4 +-
getting-started.html | 4 +-
images/apache-con.gif | Bin 0 -> 3272 bytes
images/apache-con.jpg | Bin 0 -> 2685 bytes
images/apachecon-logo.png | Bin 0 -> 19631 bytes
images/nivanov.jpg | Bin 0 -> 935958 bytes
images/nivanov.png | Bin 0 -> 432966 bytes
images/scale-by-the-bay-logo.png | Bin 0 -> 159548 bytes
images/scale-by-the-bay-logo2.png | Bin 0 -> 38515 bytes
index.html | 2 +-
installation.html | 2 +-
integrations.html | 4 +-
intent-matching.html | 10 ++--
metrics-and-tracing.html | 4 +-
relnotes/release-notes-0.5.0.html | 2 +-
relnotes/release-notes-0.6.2.html | 2 +-
relnotes/release-notes-0.7.0.html | 2 +-
relnotes/release-notes-0.7.1.html | 2 +-
relnotes/release-notes-0.7.2.html | 2 +-
relnotes/release-notes-0.7.3.html | 2 +-
relnotes/release-notes-0.7.4.html | 2 +-
relnotes/release-notes-0.7.5.html | 2 +-
relnotes/release-notes-0.8.0.html | 2 +-
relnotes/release-notes-0.9.0.html | 2 +-
resources.html | 18 +++++++
server-and-probe.html | 4 +-
short-term-memory.html | 2 +-
tools/embedded_probe.html | 4 +-
tools/script.html | 4 +-
tools/sql_model_gen.html | 4 +-
tools/syn_tool.html | 4 +-
tools/test_framework.html | 5 +-
use-cases.html | 2 +-
using-rest.html | 4 +-
53 files changed, 145 insertions(+), 112 deletions(-)
diff --git a/404.html b/404.html
index af51433..2c6a728 100644
--- a/404.html
+++ b/404.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/Gemfile b/Gemfile
deleted file mode 100644
index f4abab7..0000000
--- a/Gemfile
+++ /dev/null
@@ -1,26 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-source "https://rubygems.org"
-
-# Plugins.
-group :jekyll_plugins do
- gem "jekyll-feed", "~> 0.9"
- gem "jekyll-seo-tag", "~> 2.1"
- gem 'wdm', '>= 0.1.0' if Gem.win_platform?
-end
-
diff --git a/assets/css/style.css b/assets/css/style.css
index e8de8bb..11069ff 100644
--- a/assets/css/style.css
+++ b/assets/css/style.css
@@ -1 +1,3 @@
-@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:'
[...]
+@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
diff --git a/assets/css/style.css.map b/assets/css/style.css.map
new file mode 100644
index 0000000..7b63d77
--- /dev/null
+++ b/assets/css/style.css.map
@@ -0,0 +1,56 @@
+{
+ "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/resources.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
deleted file mode 100644
index 655273a..0000000
--- a/blogs.html
+++ /dev/null
@@ -1,18 +0,0 @@
-<!--
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- 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 [...]
diff --git a/blogs/composable_named_entities.html
b/blogs/composable_named_entities.html
index 7a1bb43..2d57ee4 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",
@@ -41,4 +41,4 @@
]
}
]
- </pre><p> In this example, we defined a new named entity
<code>custom:airport:usa</code>. In its definition we not only filter cities
for the USA but also added a prefix that would indicate that this is an airport
(learn more about NLPCraft IDL syntax <a
href="https://nlpcraft.apache.org/intent-matching.html">here</a>).</p><p>
Composable named entities can be nested but not recursive. All the normalized
metadata of the constituent (part) entities - of any nesting depths - is
accessib [...]
+ </pre><p> In this example, we defined a new named entity
<code>custom:airport:usa</code>. In its definition we not only filter cities
for the USA but also added a prefix that would indicate that this is an airport
(learn more about NLPCraft IDL syntax <a
href="https://nlpcraft.apache.org/intent-matching.html">here</a>).</p><p>
Composable named entities can be nested but not recursive. All the normalized
metadata of the constituent (part) entities - of any nesting depths - is
accessib [...]
diff --git a/blogs/nlpcraft-idl-intent-definition-language.html
b/blogs/nlpcraft-idl-intent-definition-language.html
index cb6e4b2..616e453 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 8b2b912..19d63be 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"
@@ -78,4 +78,4 @@
NCResult.text(s"Lights are [$status] in
[${locations.toLowerCase}].")
}
}
- </pre><p><b>NOTES:</b></p><ul><li> We use an <a target="javadoc"
href="/apis/latest/org/apache/nlpcraft/model/NCModelFileAdapter.html">NCModelFileAdapter</a>
adapter that allows us to load our static model configuration from a YAML
file.<li> Method <code>onMatch(...)</code> is a callback function for our
intent <code>"ls"</code> (define above in the
<code>lightswitch_model.yaml</code> file).<li> Method <code>onMatch(...)</code>
has two input parameters:<ul><li>A single token from the [...]
+ </pre><p><b>NOTES:</b></p><ul><li> We use an <a target="javadoc"
href="/apis/latest/org/apache/nlpcraft/model/NCModelFileAdapter.html">NCModelFileAdapter</a>
adapter that allows us to load our static model configuration from a YAML
file.<li> Method <code>onMatch(...)</code> is a callback function for our
intent <code>"ls"</code> (define above in the
<code>lightswitch_model.yaml</code> file).<li> Method <code>onMatch(...)</code>
has two input parameters:<ul><li>A single token from the [...]
diff --git a/blogs/short_term_memory.html b/blogs/short_term_memory.html
index 4772832..6bb391c 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/cheat-sheet.html b/cheat-sheet.html
index 5ea4040..24d7ec0 100644
--- a/cheat-sheet.html
+++ b/cheat-sheet.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
$ mvn clean package -P examples -DskipTests
@@ -90,4 +90,4 @@
$ bin/nlpcraft.sh help -c=rest # Get help.
$ bin/nlpcraft.sh rest -p=signin
-j='{"email": "[email protected]", "passwd": "admin"}' # Linux/Unix/MacOS REST
call.
$ bin/nlpcraft.cmd rest --path=signin
--json='{\"email\": \"[email protected]\", \"passwd\": \"admin\"}' # Window REST
call.
- </pre></div></div></div></div></div></div><div
class="bq info"><p> <b>NOTES:</b></p><ul><li> Use <span
class="keyboard">Tab</span> key for auto-completion for commands, parameters,
paths, and model class names.<li> <a href="/tools/script.html">NLPCraft CLI</a>
is available as <code>nlpcraft.sh</code> for <i class="fab fa-fw fa-linux"></i>
and <code>nlpcraft.cmd</code> for <i class="fab fa-fw fa-windows"></i>.<li> Run
<code class="script">bin/nlpcraft.sh he [...]
+ </pre></div></div></div></div></div></div><div
class="bq info"><p> <b>NOTES:</b></p><ul><li> Use <span
class="keyboard">Tab</span> key for auto-completion for commands, parameters,
paths, and model class names.<li> <a href="/tools/script.html">NLPCraft CLI</a>
is available as <code>nlpcraft.sh</code> for <i class="fab fa-fw fa-linux"></i>
and <code>nlpcraft.cmd</code> for <i class="fab fa-fw fa-windows"></i>.<li> Run
<code class="script">bin/nlpcraft.sh he [...]
diff --git a/community.html b/community.html
index 08b88dd..b56fd10 100644
--- a/community.html
+++ b/community.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 [...]
+------------+ +---------------+ +-----------------+
| | replica | | fork | |
| Apache Git | ==========> | GitHub Mirror | ---------> | John Doe's Fork |
@@ -36,4 +36,4 @@
</pre><li> Each time when you want to update your
local <code>master</code> do the following:<pre class="brush: bash">
git pull upstream
git checkout master
- </pre></ul><div class="bq info"><p><b>Branch
Naming in Forks</b></p><p> Note that you can use any naming scheme for the
branches in your local forks (i.e. you can work in <code>master</code> branch
in your local fork). However, when you up-merge from the GitHub mirror you need
to make sure to use <code>master</code> branch to get the latest
work-in-progress from the upstream.</p></div></ul><p>To make the
contribution:</p><ul><li> Fix or implement JIRA ticket i [...]
+ </pre></ul><div class="bq info"><p><b>Branch
Naming in Forks</b></p><p> Note that you can use any naming scheme for the
branches in your local forks (i.e. you can work in <code>master</code> branch
in your local fork). However, when you up-merge from the GitHub mirror you need
to make sure to use <code>master</code> branch to get the latest
work-in-progress from the upstream.</p></div></ul><p>To make the
contribution:</p><ul><li> Fix or implement JIRA ticket i [...]
diff --git a/data-model.html b/data-model.html
index 381223c..b2a9a2c 100644
--- a/data-model.html
+++ b/data-model.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 [...]
package org.apache.nlpcraft.examples.lightswitch
import org.apache.nlpcraft.model.{NCIntentTerm, _}
@@ -333,4 +333,4 @@ intents:
"synonyms": [
"population {of|for} ^^[city]{tok_id() == 'nlpcraft:city' &&
lowercase(meta_tok('city:country')) == 'france'}^^"
]
- </pre><b>NOTES:</b><ul><li>Optional alias <code>city</code> can be
used to access a constituent part token (with ID
<code>nlpcraft:city</code>).<li> The expression between <code>{</code> and
<code>}</code> brackets is a standard IDL term
expression.</ul></section><section id="programmable_ners"><h2
class="section-title">Programmable NERs <a href="#"><i class="top-link fas
fa-fw fa-angle-double-up"></i></a></h2><p> By default, the data model detects
its elements by their synonyms, [...]
+ </pre><b>NOTES:</b><ul><li>Optional alias <code>city</code> can be
used to access a constituent part token (with ID
<code>nlpcraft:city</code>).<li> The expression between <code>{</code> and
<code>}</code> brackets is a standard IDL term
expression.</ul></section><section id="programmable_ners"><h2
class="section-title">Programmable NERs <a href="#"><i class="top-link fas
fa-fw fa-angle-double-up"></i></a></h2><p> By default, the data model detects
its elements by their synonyms, [...]
diff --git a/docs.html b/docs.html
index 7e3b133..cc3b387 100644
--- a/docs.html
+++ b/docs.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 95c0a7f..b540b7f 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">
@@ -62,4 +62,4 @@
}
</pre></div><div class="tab-pane fade"
id="nav-java-client-sbt" role="tabpanel"><pre class="brush: scala">
libraryDependencies += "org.apache.nlpcraft" %
"java-client" % "0.7.5"
- </pre></div></div><div class="bq info"><p> <b>Latest
Version</b></p><p> <code>0.7.5</code> is the latest Java Client version. You
can replace it with a desired version.</p></div></section></div><div
class="col-md-2 third-column"><ul class="side-nav"><li
class="side-nav-title">On This Page<li><a href="#src">Source Release</a><li><a
href="#zip">Binary Release</a><li><a href="#build">Building Binaries</a><li><a
href="#verification">Verification</a><li><a href="#maven">Ma [...]
+ </pre></div></div><div class="bq info"><p> <b>Latest
Version</b></p><p> <code>0.7.5</code> is the latest Java Client version. You
can replace it with a desired version.</p></div></section></div><div
class="col-md-2 third-column"><ul class="side-nav"><li
class="side-nav-title">On This Page<li><a href="#src">Source Release</a><li><a
href="#zip">Binary Release</a><li><a href="#build">Building Binaries</a><li><a
href="#verification">Verification</a><li><a href="#maven">Ma [...]
diff --git a/examples/alarm_clock.html b/examples/alarm_clock.html
index bc37742..394619b 100644
--- a/examples/alarm_clock.html
+++ b/examples/alarm_clock.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 [...]
$ bin/nlpcraft.sh gen-project --baseName=AlarmClock
--outputDir=~ --pkgName=demo --mdlType=json
</pre><p> <b>NOTES:</b></p><ul><li> New project created in
<code>/home/AlarmClock</code> directory.<li> <code>gen-project</code> command
defaults to Java and Maven as its built tool.<li> Run <code
class="script">bin/nlpcraft.sh help --cmd=gen-project</code> to get a full help
on <code>gen-project</code> command.<li> <a href="/tools/script.html">NLPCraft
CLI</a> is available as <code>nlpcraft.sh</code> for <i class="fab fa-fw
fa-linux"></i> and <code>nlpcraft.cmd</code> fo [...]
{
@@ -138,4 +138,4 @@ public class AlarmClock extends NCModelFileAdapter {
$ bin/nlpcraft.sh start-server
</pre></div><div class="tab-pane fade show" id="nav-srv-out"
role="tabpanel"><p></p><p> <img class="img-fluid" alt=""
src="/images/server-fig1.png"></p></div></div><p> <b>NOTES:</b></p><ul><li> <i
style="color: #F39C12" class="fa fa-exclamation-triangle"></i> REST server is a
"fire-and-forget" component that you generally needs to start only once for
this and any other examples.<li> Run <code class="script">bin/nlpcraft.sh help
--cmd=start-server</code> to get a full help [...]
$ bin/nlpcraft.sh test-model --cp=~/AlarmClock/target/classes
--mdls=demo.AlarmClock
- </pre><p> <b>NOTES:</b></p><ul><li> Run <code
class="script">bin/nlpcraft.sh help --cmd=test-model</code> to get a full help
on this command.<li> Note that you can use <code>retest-model</code> command in
REPL mode to re-run the last model test avoiding the retyping of all required
parameters.<li> <a href="/tools/script.html">NLPCraft CLI</a> is available as
<code>nlpcraft.sh</code> for <i class="fab fa-fw fa-linux"></i> and
<code>nlpcraft.cmd</code> for <i class="fab fa-fw fa-wi [...]
+ </pre><p> <b>NOTES:</b></p><ul><li> Run <code
class="script">bin/nlpcraft.sh help --cmd=test-model</code> to get a full help
on this command.<li> Note that you can use <code>retest-model</code> command in
REPL mode to re-run the last model test avoiding the retyping of all required
parameters.<li> <a href="/tools/script.html">NLPCraft CLI</a> is available as
<code>nlpcraft.sh</code> for <i class="fab fa-fw fa-linux"></i> and
<code>nlpcraft.cmd</code> for <i class="fab fa-fw fa-wi [...]
diff --git a/examples/light_switch.html b/examples/light_switch.html
index 128b4ee..62d16c5 100644
--- a/examples/light_switch.html
+++ b/examples/light_switch.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 [...]
$ bin/nlpcraft.sh gen-project --baseName=LightSwitch
--outputDir=~ --pkgName=demo --lang=scala
</pre><p> <b>NOTES:</b></p><ul><li> New project created in
<code>/home/LightSwitch</code> directory.<li> <code>gen-project</code> command
defaults to Java and Maven as its built tool.<li> Run <code
class="script">bin/nlpcraft.sh help --cmd=gen-project</code> to get a full help
on <code>gen-project</code> command.<li> <a href="/tools/script.html">NLPCraft
CLI</a> is available as <code>nlpcraft.sh</code> for <i class="fab fa-fw
fa-linux"></i> and <code>nlpcraft.cmd</code> f [...]
id: "nlpcraft.lightswitch.ex"
@@ -119,4 +119,4 @@ class LightSwitch extends
NCModelFileAdapter("light_switch.yaml") {
$ bin/nlpcraft.sh start-server
</pre></div><div class="tab-pane fade show" id="nav-srv-out"
role="tabpanel"><p></p><p> <img class="img-fluid" alt=""
src="/images/server-fig1.png"></p></div></div><p> <b>NOTES:</b></p><ul><li> <i
style="color: #F39C12" class="fa fa-exclamation-triangle"></i> REST server is a
"fire-and-forget" component that you generally need to start it only once for
this and other examples.<li> Run <code class="script">bin/nlpcraft.sh help
--cmd=start-server</code> to get a full help o [...]
$ bin/nlpcraft.sh test-model --cp=~/LightSwitch/target/classes
--mdls=demo.LightSwitch
- </pre><p> <b>NOTES:</b></p><ul><li> Run <code
class="script">bin/nlpcraft.sh help --cmd=test-model</code> to get a full help
on this command.<li> Note that you can use <code>retest-model</code> command in
REPL mode to re-run the last model test avoiding the retyping of all required
parameters.<li> <a href="/tools/script.html">NLPCraft CLI</a> is available as
<code>nlpcraft.sh</code> for <i class="fab fa-fw fa-linux"></i> and
<code>nlpcraft.cmd</code> for <i class="fab fa-fw fa-wi [...]
+ </pre><p> <b>NOTES:</b></p><ul><li> Run <code
class="script">bin/nlpcraft.sh help --cmd=test-model</code> to get a full help
on this command.<li> Note that you can use <code>retest-model</code> command in
REPL mode to re-run the last model test avoiding the retyping of all required
parameters.<li> <a href="/tools/script.html">NLPCraft CLI</a> is available as
<code>nlpcraft.sh</code> for <i class="fab fa-fw fa-linux"></i> and
<code>nlpcraft.cmd</code> for <i class="fab fa-fw fa-wi [...]
diff --git a/examples/sql_model.html b/examples/sql_model.html
index a41bbc0..c0787fc 100644
--- a/examples/sql_model.html
+++ b/examples/sql_model.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 [...]
$ cd ~/SqlModel
$ mvn clean package
</pre><p> At this stage we have our project built and we are ready to
start testing.</p></section><section id="start_server"><h2
class="section-title">Start Server <a href="#"><i class="top-link fas fa-fw
fa-angle-double-up"></i></a></h2><p> Run the following command to start local
REST server, if it hasn't been started already, from the NLPCraft installation
directory:</p><nav><div class="nav nav-tabs" role="tablist"> <a class="nav-item
nav-link active" data-toggle="tab" href="# [...]
$ bin/nlpcraft.sh start-server
</pre></div><div class="tab-pane fade show" id="nav-srv-out"
role="tabpanel"><p></p><p> <img class="img-fluid" alt=""
src="/images/server-fig1.png"></p></div></div><p> <b>NOTES:</b></p><ul><li> <i
style="color: #F39C12" class="fa fa-exclamation-triangle"></i> REST server is a
"fire-and-forget" component that you generally need to start it only once for
this and any other examples.<li> Run <code class="script">bin/nlpcraft.sh help
--cmd=start-server</code> to get a full he [...]
$ bin/nlpcraft.sh test-model --cp=~/sql/target/classes
--mdls=demo.SqlModel
- </pre><p> <b>NOTES:</b></p><ul><li> Run <code
class="script">bin/nlpcraft.sh help --cmd=test-model</code> to get a full help
on this command.<li> Note that you can use <code>retest-model</code> command in
REPL mode to re-run the last model test avoiding the retyping of all required
parameters.<li> <a href="/tools/script.html">NLPCraft CLI</a> is available as
<code>nlpcraft.sh</code> for <i class="fab fa-fw fa-linux"></i> and
<code>nlpcraft.cmd</code> for <i class="fab fa-fw fa-wi [...]
+ </pre><p> <b>NOTES:</b></p><ul><li> Run <code
class="script">bin/nlpcraft.sh help --cmd=test-model</code> to get a full help
on this command.<li> Note that you can use <code>retest-model</code> command in
REPL mode to re-run the last model test avoiding the retyping of all required
parameters.<li> <a href="/tools/script.html">NLPCraft CLI</a> is available as
<code>nlpcraft.sh</code> for <i class="fab fa-fw fa-linux"></i> and
<code>nlpcraft.cmd</code> for <i class="fab fa-fw fa-wi [...]
diff --git a/examples/weather_bot.html b/examples/weather_bot.html
index 49617b3..f05d98d 100644
--- a/examples/weather_bot.html
+++ b/examples/weather_bot.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 [...]
$ bin/nlpcraft.sh gen-project --baseName=Weather
--outputDir=~ --pkgName=demo --mdlType=json
</pre><p> <b>NOTES:</b></p><ul><li> New project created in
<code>/home/Weather</code> directory.<li> <code>gen-project</code> command
defaults to Java and Maven as its built tool.<li> Run <code
class="script">bin/nlpcraft.sh help --cmd=gen-project</code> to get a full help
on <code>gen-project</code> command.<li> <a href="/tools/script.html">NLPCraft
CLI</a> is available as <code>nlpcraft.sh</code> for <i class="fab fa-fw
fa-linux"></i> and <code>nlpcraft.cmd</code> for < [...]
{
@@ -270,4 +270,4 @@ public class WeatherModel extends NCModelFileAdapter {
$ bin/nlpcraft.sh start-server
</pre></div><div class="tab-pane fade show" id="nav-srv-out"
role="tabpanel"><p></p><p> <img class="img-fluid" alt=""
src="/images/server-fig1.png"></p></div></div><p> <b>NOTES:</b></p><ul><li> <i
style="color: #F39C12" class="fa fa-exclamation-triangle"></i> REST server is a
"fire-and-forget" component that you generally need to start it only once.<li>
Run <code class="script">bin/nlpcraft.sh help --cmd=start-server</code> to get
a full help on this command.<li> <a href= [...]
$ bin/nlpcraft.sh test-model --cp=~/Weather/target/classes
--mdls=demo.Weather
- </pre><p> <b>NOTES:</b></p><ul><li> Run <code
class="script">bin/nlpcraft.sh help --cmd=test-model</code> to get a full help
on this command.<li> Note that you can use <code>retest-model</code> command in
REPL mode to re-run the last model test avoiding the retyping of all required
parameters.<li> <a href="/tools/script.html">NLPCraft CLI</a> is available as
<code>nlpcraft.sh</code> for <i class="fab fa-fw fa-linux"></i> and
<code>nlpcraft.cmd</code> for <i class="fab fa-fw fa-wi [...]
+ </pre><p> <b>NOTES:</b></p><ul><li> Run <code
class="script">bin/nlpcraft.sh help --cmd=test-model</code> to get a full help
on this command.<li> Note that you can use <code>retest-model</code> command in
REPL mode to re-run the last model test avoiding the retyping of all required
parameters.<li> <a href="/tools/script.html">NLPCraft CLI</a> is available as
<code>nlpcraft.sh</code> for <i class="fab fa-fw fa-linux"></i> and
<code>nlpcraft.cmd</code> for <i class="fab fa-fw fa-wi [...]
diff --git a/feed.xml b/feed.xml
index f5bc555..1dd7b18 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="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
+<?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-08-13T17:11:02-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/first-example.html b/first-example.html
index 6d9df62..84010ce 100644
--- a/first-example.html
+++ b/first-example.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 [...]
$ bin/nlpcraft.sh gen-project --baseName=LightSwitch
--outputDir=~ --lang=scala --pkgName=demo
</pre></div><div class="tab-pane fade show" id="nav-out"
role="tabpanel"><p></p><p> <img class="img-fluid" alt=""
src="/images/first_example_fig1.png"></p></div></div><p>
<b>NOTES:</b></p><ul><li> New project created in <code>/home/LightSwitch</code>
directory.<li> <code>gen-project</code> command defaults to Maven as its built
tool.<li> Run <code class="script">bin/nlpcraft.sh help
--cmd=gen-project</code> to get a full help on <code>gen-project</code>
command.<li> <a hr [...]
id: "nlpcraft.lightswitch.ex"
@@ -202,4 +202,4 @@ class LightSwitchKotlinModel :
NCModelFileAdapter("lightswitch_model.yaml") {
$ bin/nlpcraft.sh start-server
</pre></div><div class="tab-pane fade show" id="nav-srv-out"
role="tabpanel"><p></p><p> <img class="img-fluid" alt=""
src="/images/first_example_fig2.png"></p></div></div><div class="bq info"><p>
<i class="fas fa-lightbulb"></i> Learn more about <a
href="/server-and-probe.html">Server <span class="amp">&</span> Data
Probes</a>.</p></div></section><section id="test"><h2
class="section-title">Testing <a href="#"><i class="top-link fas fa-fw
fa-angle-double-up"></i></a></h2> [...]
$ bin/nlpcraft.sh test-model
--cp=~/LightSwitch/target/classes --mdls=demo.LightSwitchModel
- </pre></div><div class="tab-pane fade show" id="nav-test-out"
role="tabpanel"><p></p><p> <img style="max-width: 910px !important;"
class="img-fluid" alt=""
src="/images/first_example_fig4.png"></p></div></div></section><section><h2
class="section-title">Congratulation! 👌 <a href="#"><i class="top-link fas
fa-fw fa-angle-double-up"></i></a></h2><p> You've created your first data
model, started the REST server and tested the model using built-in model
auto-validator.</p></s [...]
+ </pre></div><div class="tab-pane fade show" id="nav-test-out"
role="tabpanel"><p></p><p> <img style="max-width: 910px !important;"
class="img-fluid" alt=""
src="/images/first_example_fig4.png"></p></div></div></section><section><h2
class="section-title">Congratulation! 👌 <a href="#"><i class="top-link fas
fa-fw fa-angle-double-up"></i></a></h2><p> You've created your first data
model, started the REST server and tested the model using built-in model
auto-validator.</p></s [...]
diff --git a/getting-started.html b/getting-started.html
index bebb8d8..7eb87cc 100644
--- a/getting-started.html
+++ b/getting-started.html
@@ -15,9 +15,9 @@
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 [...]
$ bin/nlpcraft.sh start-server
$ bin/nlpcraft.sh start-probe
--cp=./build/nlpcraft-examples/weather/nlpcraft-example-weather-0.9.0.jar
--mdls=org.apache.nlpcraft.examples.weather.NCWeatherModel
</pre><p> At this point data probe and the REST server are started and
connected.</p><h2 id="querying" class="section-sub-title">Using REST API <a
href="#"><i class="top-link fas fa-fw fa-angle-double-up"></i></a></h2><p> We
will be using NLPCraft CLI script to issue REST calls. Let's start NLPCraft CLI
in interactive REPL mode by running <a
href="/tools/script.html"><code>nlpcraft.{sh|cmd}</code></a> script with no
argument:</p><pre class="brush: bash">
$ bin/nlpcraft.sh
- </pre><p> <b>NOTES:</b></p><ul><li> NLPCraft CLI automatically detects
the REST server and data probe we have started in the previous step. You can
see the status of the REST server and data probe in the REPL prompt or you can
use <code>info</code> command to see a status information.<li> When NLPCraft
CLI detects running REST server it automatically signs in with the <a
href="/using-rest.html#users">default user account</a> to obtain access token
that is required for all REST ca [...]
+ </pre><p> <b>NOTES:</b></p><ul><li> NLPCraft CLI automatically detects
the REST server and data probe we have started in the previous step. You can
see the status of the REST server and data probe in the REPL prompt or you can
use <code>info</code> command to see a status information.<li> When NLPCraft
CLI detects running REST server it automatically signs in with the <a
href="/using-rest.html#users">default user account</a> to obtain access token
that is required for all REST ca [...]
diff --git a/images/apache-con.gif b/images/apache-con.gif
new file mode 100644
index 0000000..debdfe6
Binary files /dev/null and b/images/apache-con.gif differ
diff --git a/images/apache-con.jpg b/images/apache-con.jpg
new file mode 100644
index 0000000..065b5c6
Binary files /dev/null and b/images/apache-con.jpg differ
diff --git a/images/apachecon-logo.png b/images/apachecon-logo.png
new file mode 100644
index 0000000..2e60371
Binary files /dev/null and b/images/apachecon-logo.png differ
diff --git a/images/nivanov.jpg b/images/nivanov.jpg
new file mode 100644
index 0000000..85e2421
Binary files /dev/null and b/images/nivanov.jpg differ
diff --git a/images/nivanov.png b/images/nivanov.png
new file mode 100644
index 0000000..a73553d
Binary files /dev/null and b/images/nivanov.png differ
diff --git a/images/scale-by-the-bay-logo.png b/images/scale-by-the-bay-logo.png
new file mode 100644
index 0000000..9fbf1b8
Binary files /dev/null and b/images/scale-by-the-bay-logo.png differ
diff --git a/images/scale-by-the-bay-logo2.png
b/images/scale-by-the-bay-logo2.png
new file mode 100644
index 0000000..bae1b40
Binary files /dev/null and b/images/scale-by-the-bay-logo2.png differ
diff --git a/index.html b/index.html
index c4afa31..5c25251 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/installation.html b/installation.html
index 3898091..1231187 100644
--- a/installation.html
+++ b/installation.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/integrations.html b/integrations.html
index cb5c977..574719c 100644
--- a/integrations.html
+++ b/integrations.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 [...]
<dependency>
<groupId>edu.stanford.nlp</groupId>
<artifactId>stanford-corenlp</artifactId>
@@ -140,4 +140,4 @@ if __name__ == '__main__':
}
</pre></div><div class="tab-pane fade" id="nav-oracle-sbt"
role="tabpanel"><pre class="brush: scala">
libraryDependencies += "org.oracle" % "ojdbc14" %
"10.2.0.4.0"
- </pre></div></div><p> Comments:</p><ul><li> Make sure to
change <code>10.2.0.4.0</code> version to the latest or required one.<li>
Update configuration property <code>nlpcraft.server.database.jdbc</code> with
required JDBC driver class and JDBC URL.<li> Use scripts from
<code>sql/oracle</code> folder to create database and initialize DB
schema.</ul></section><section> <img id="gridgain" class="img-title"
src="/images/gridgain-logo.png" width="200px" alt=""><p> NLPCraf [...]
+ </pre></div></div><p> Comments:</p><ul><li> Make sure to
change <code>10.2.0.4.0</code> version to the latest or required one.<li>
Update configuration property <code>nlpcraft.server.database.jdbc</code> with
required JDBC driver class and JDBC URL.<li> Use scripts from
<code>sql/oracle</code> folder to create database and initialize DB
schema.</ul></section><section> <img id="gridgain" class="img-title"
src="/images/gridgain-logo.png" width="200px" alt=""><p> NLPCraf [...]
diff --git a/intent-matching.html b/intent-matching.html
index 5a8e193..1f51914 100644
--- a/intent-matching.html
+++ b/intent-matching.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=x
term(a)~{tok_id() == 'my_elm'}
term(b)={has(tok_groups(), "my_group")}
@@ -69,7 +69,7 @@
}
</pre><div class="bq info"><p> <b>NOTE:</b>
while term variable initialization expressions can have any type - the term's
expression itself, i.e. the last expression in the term's body, <em>must
evaluate to a boolean result only.</em> Failure to do so will result in a
runtime exception during intent evaluation. Note also that such errors cannot
be detected during intent compilation phase.</p></div><li><p><b>User-Defined
Callback</b></p><p> In this case the [...]
term(a)=/org.mypackage.MyClass#termMethod/?
- </pre><p> Class name is optional in which case
the model class will be used by default. Note that if the custom class is in
fact specified, the instance of this class will be created for each term
evaluation. This class must have a no-arg constructor to instantiate via
standard Java reflection and its creation must be as light as possible to avoid
performance degradation during its instantiation. For this reasons it is
recommended to have user-defined term [...]
+ </pre><p> Class name is optional in which case
the model class will be used by default. Note that if the custom class is in
fact specified, the instance of this class will be created for each term
evaluation. This class must have a no-arg constructor to instantiate via
standard Java reflection and its creation must be as light as possible to avoid
performance degradation during its instantiation. For this reason it is
recommended to have user-defined term [...]
// Fragments.
fragment=buzz term~{tok_id() == meta_frag('id')}
fragment=when
@@ -97,7 +97,7 @@
// Import using URL.
import('ftp://user:password@myhost:22/opt/globals.idl')
- </pre><p> <b>NOTES:</b></p><ul
class="recover-bottom-margin"><li> The effect of importing is the same as if
the imported declarations were inserted in place of import statement.<li>
Recursive and cyclic imports are detected and safely ignored.<li> Import
statement starts with <code>import</code> keyword and has a string parameter
that indicates the location of the resource to import.<li> For the classpath
resource you don't need to specify leading forward slash.</ul><p></ [...]
+ </pre><p> <b>NOTES:</b></p><ul
class="recover-bottom-margin"><li> The effect of importing is the same as if
the imported declarations were inserted in place of import statement.<li>
Recursive and cyclic imports are detected and safely ignored.<li> Import
statement starts with <code>import</code> keyword and has a string parameter
that indicates the location of the resource to import.<li> For the classpath
resource you don't need to specify leading forward slash.</ul><p></ [...]
intent=a
term~{tok_id() == 'x:id'}
term(nums)~{tok_id() == 'nlpcraft:num' &&
lowercase(meta_tok('nlpcraft:num:unittype')) == 'datetime'}[0,2]
@@ -517,7 +517,7 @@ or_else(meta_model('some_prop'), @dflt)
intent=alarm
fragment(buzz)
fragment(when)
- </pre></ul></section><section id="binding"><h2
class="section-title">Binding Intent <a href="#"><i class="top-link fas fa-fw
fa-angle-double-up"></i></a></h2><p> IDL intents must be bound to their
callback methods. This binding is accomplished using the following Java
annotations:</p><table
class="gradient-table"><thead><tr><th>Annotation<th>Target<th>Description<tbody><tr><td><a
target="javadoc"
href="/apis/latest/org/apache/nlpcraft/model/NCIntent.html">@NCIntent</a><td
[...]
+ </pre></ul></section><section id="binding"><h2
class="section-title">Binding Intent <a href="#"><i class="top-link fas fa-fw
fa-angle-double-up"></i></a></h2><p> IDL intents must be bound to their
callback methods. This binding is accomplished using the following Java
annotations:</p><table
class="gradient-table"><thead><tr><th>Annotation<th>Target<th>Description<tbody><tr><td><a
target="javadoc"
href="/apis/latest/org/apache/nlpcraft/model/NCIntent.html">@NCIntent</a><td
[...]
@NCIntent("intent=act term(act)={groups @@ 'act'}
term(loc)={trim(id) == 'ls:loc'}*")
@NCIntentSample(Array(
"Turn the lights off in the entire house.",
@@ -595,4 +595,4 @@ or_else(meta_model('some_prop'), @dflt)
) {
...
}
- </pre><p><b>NOTES:</b></p><ul><li> Conversational term
<code>termId</code> has <code>[0,1]</code> quantifier (it's optional).<li> The
formal parameter on the callback has a type of
<code>Optional<NCToken></code> because the term's quantifier is
<code>[0,1]</code>.<li> Note that callback doesn't have an optional <a
target="javadoc"
href="/apis/latest/org/apache/nlpcraft/model/NCIntentMatch.html">NCIntentMatch</a>
parameter.</ul><h2 class="section-sub-title"><code>NCRejection [...]
+ </pre><p><b>NOTES:</b></p><ul><li> Conversational term
<code>termId</code> has <code>[0,1]</code> quantifier (it's optional).<li> The
formal parameter on the callback has a type of
<code>Optional<NCToken></code> because the term's quantifier is
<code>[0,1]</code>.<li> Note that callback doesn't have an optional <a
target="javadoc"
href="/apis/latest/org/apache/nlpcraft/model/NCIntentMatch.html">NCIntentMatch</a>
parameter.</ul><h2 class="section-sub-title"><code>NCRejection [...]
diff --git a/metrics-and-tracing.html b/metrics-and-tracing.html
index e02f5ab..f9e13eb 100644
--- a/metrics-and-tracing.html
+++ b/metrics-and-tracing.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 [...]
nlpcraft {
server {
...
@@ -37,4 +37,4 @@ nlpcraft {
...
}
}
- </pre><p> Just like with server exporters, each probe exporter has
default configuration that can be overridden via <a
href="server-and-probe.html">configuration</a> properties or environment
variables. Note also that all built-in <b>trace exporters</b> use "always"
sampling by default that is suitable only for demo or development purposes. For
production usage you will need to modify the exporter to provide more effective
<a target=_ href="https://opencensus.io/tracing/sampling/ [...]
+ </pre><p> Just like with server exporters, each probe exporter has
default configuration that can be overridden via <a
href="server-and-probe.html">configuration</a> properties or environment
variables. Note also that all built-in <b>trace exporters</b> use "always"
sampling by default that is suitable only for demo or development purposes. For
production usage you will need to modify the exporter to provide more effective
<a target=_ href="https://opencensus.io/tracing/sampling/ [...]
diff --git a/relnotes/release-notes-0.5.0.html
b/relnotes/release-notes-0.5.0.html
index 8f55ead..cb44387 100644
--- a/relnotes/release-notes-0.5.0.html
+++ b/relnotes/release-notes-0.5.0.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/relnotes/release-notes-0.6.2.html
b/relnotes/release-notes-0.6.2.html
index 196a77c..1b5bd88 100644
--- a/relnotes/release-notes-0.6.2.html
+++ b/relnotes/release-notes-0.6.2.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/relnotes/release-notes-0.7.0.html
b/relnotes/release-notes-0.7.0.html
index 0d7865b..3e28934 100644
--- a/relnotes/release-notes-0.7.0.html
+++ b/relnotes/release-notes-0.7.0.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/relnotes/release-notes-0.7.1.html
b/relnotes/release-notes-0.7.1.html
index d1d2aec..42d2b63 100644
--- a/relnotes/release-notes-0.7.1.html
+++ b/relnotes/release-notes-0.7.1.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/relnotes/release-notes-0.7.2.html
b/relnotes/release-notes-0.7.2.html
index 62358d5..68ad99b 100644
--- a/relnotes/release-notes-0.7.2.html
+++ b/relnotes/release-notes-0.7.2.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/relnotes/release-notes-0.7.3.html
b/relnotes/release-notes-0.7.3.html
index e21d475..f0df4b3 100644
--- a/relnotes/release-notes-0.7.3.html
+++ b/relnotes/release-notes-0.7.3.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/relnotes/release-notes-0.7.4.html
b/relnotes/release-notes-0.7.4.html
index 2f4952a..64592c3 100644
--- a/relnotes/release-notes-0.7.4.html
+++ b/relnotes/release-notes-0.7.4.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/relnotes/release-notes-0.7.5.html
b/relnotes/release-notes-0.7.5.html
index dd47a2e..bd36d15 100644
--- a/relnotes/release-notes-0.7.5.html
+++ b/relnotes/release-notes-0.7.5.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/relnotes/release-notes-0.8.0.html
b/relnotes/release-notes-0.8.0.html
index 8159cb1..dc48259 100644
--- a/relnotes/release-notes-0.8.0.html
+++ b/relnotes/release-notes-0.8.0.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/relnotes/release-notes-0.9.0.html
b/relnotes/release-notes-0.9.0.html
index 4b3d3bb..7c3df9a 100644
--- a/relnotes/release-notes-0.9.0.html
+++ b/relnotes/release-notes-0.9.0.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/resources.html b/resources.html
new file mode 100644
index 0000000..e4c5609
--- /dev/null
+++ b/resources.html
@@ -0,0 +1,18 @@
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ 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 [...]
diff --git a/server-and-probe.html b/server-and-probe.html
index 2baa932..3ae9bc0 100644
--- a/server-and-probe.html
+++ b/server-and-probe.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 [...]
$ bin/nlpcraft.sh start-server
</pre><p> <b>NOTES:</b></p><ul><li> <a
href="/tools/script.html">NLPCraft CLI</a> is available as
<code>nlpcraft.sh</code> for <i class="fab fa-fw fa-linux"></i> and
<code>nlpcraft.cmd</code> for <i class="fab fa-fw fa-windows"></i>.<li> Run
<code class="script">bin/nlpcraft.sh help --cmd=start-server</code> to get a
full help on this command.</ul></div><div class="tab-pane fade show"
id="nav-srv-class" role="tabpanel"><p></p><p> If using executable JAR:</p><pre
class="br [...]
$ java -Xms1024m -jar
apache-nlpcraft-incubating-0.9.0-all-deps.jar -server
@@ -124,4 +124,4 @@ nlpcraft {
</execution>
</executions>
</plugin>
- </pre><p> <b>NOTES</b>:</p><ul><li> On line 14 we specify the URL
endpoint to check whether or not our server is online. We use
<code>/health</code> localhost REST call for that.<li> On line 16 we redirect
the output from server to a dedicated file to <b>avoid interleaving</b> log
from server and log from data probe in the same console (where we are running
the Maven build from). Such interleaving will make the combined log unreadable
and can cause output problem for the console [...]
+ </pre><p> <b>NOTES</b>:</p><ul><li> On line 14 we specify the URL
endpoint to check whether or not our server is online. We use
<code>/health</code> localhost REST call for that.<li> On line 16 we redirect
the output from server to a dedicated file to <b>avoid interleaving</b> log
from server and log from data probe in the same console (where we are running
the Maven build from). Such interleaving will make the combined log unreadable
and can cause output problem for the console [...]
diff --git a/short-term-memory.html b/short-term-memory.html
index 8fb4f72..1fe15ec 100644
--- a/short-term-memory.html
+++ b/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/tools/embedded_probe.html b/tools/embedded_probe.html
index 792b30a..71e9f51 100644
--- a/tools/embedded_probe.html
+++ b/tools/embedded_probe.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 [...]
public class AlarmTest {
private NCTestClient cli;
@@ -44,4 +44,4 @@ public class AlarmTest {
assertTrue(cli.ask("Set my alarm for 30s").isOk());
}
}
- </pre><p> <b>NOTES:</b></p><ul><li> Lines 6 and 18 show the embedded
data probe start and stop as it's used in the unit tests.</ul><p> It's
important to note that there are number of inherent limitations associated with
embedded probe:</p><ul><li> Embedded probe is only available for JVM-based
applications (and can be used with any JVM languages).<li> There can be only
one embedded probe per JVM.<li> Once data probe is stopped and cannot be
re-started again in the same JVM.<li> E [...]
+ </pre><p> <b>NOTES:</b></p><ul><li> Lines 6 and 18 show the embedded
data probe start and stop as it's used in the unit tests.</ul><p> It's
important to note that there are number of inherent limitations associated with
embedded probe:</p><ul><li> Embedded probe is only available for JVM-based
applications (and can be used with any JVM languages).<li> There can be only
one embedded probe per JVM.<li> Once data probe is stopped and cannot be
re-started again in the same JVM.<li> E [...]
diff --git a/tools/script.html b/tools/script.html
index 149d8f5..fef85eb 100644
--- a/tools/script.html
+++ b/tools/script.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 [...]
> $git pull # Runs 'git pull' in the current directory.
> $vi /home/myproject/pom.xml # Edit 'pom.xml' using vi.
> $emacs /home/myproject/MyModel.scala # Edit 'MyModel.scala'
using emacs.
@@ -25,4 +25,4 @@
$ bin/nlpcraft.sh no-ansi no-logo signin [email protected]
--passwd=admin | tail -n +2 | jq -M '.acsTok' | tr -d '"'
</pre><p> ...and the access token is:</p><pre class="brush: bash">
bjok7yraypseyk86KgGae
- </pre><p> <b>NOTES:</b></p><ul><li> We use <code>no-ansi</code> and
<code>no-logo</code> commands that clean up and simplify the output so that it
would be easier to parse the resulting JSON.<li> We use <code>tail -n +2</code>
Unix command to skip the 1st line of the output that contains HTTP return
code.<li> We use <a target=_blank href="https://stedolan.github.io/jq/">jq</a>
utility to parse JSON inline and extract <code>acsTok</code> field.<li> We use
<code>tr -d '"'</code> to [...]
+ </pre><p> <b>NOTES:</b></p><ul><li> We use <code>no-ansi</code> and
<code>no-logo</code> commands that clean up and simplify the output so that it
would be easier to parse the resulting JSON.<li> We use <code>tail -n +2</code>
Unix command to skip the 1st line of the output that contains HTTP return
code.<li> We use <a target=_blank href="https://stedolan.github.io/jq/">jq</a>
utility to parse JSON inline and extract <code>acsTok</code> field.<li> We use
<code>tr -d '"'</code> to [...]
diff --git a/tools/sql_model_gen.html b/tools/sql_model_gen.html
index 097d11a..17e8fec 100644
--- a/tools/sql_model_gen.html
+++ b/tools/sql_model_gen.html
@@ -15,8 +15,8 @@
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 [...]
$ bin/nlpcraft.sh gen-sql
--url=jdbc:postgresql://localhost:5432/mydb --driver=org.postgresql.Driver
--schema=public --out=model.json
</pre><p> <b>NOTES:</b></p><ul><li> <a
href="/tools/script.html">NLPCraft CLI</a> is available as
<code>nlpcraft.sh</code> for <i class="fab fa-fw fa-linux"></i> and
<code>nlpcraft.cmd</code> for <i class="fab fa-fw fa-windows"></i>.<li> Run
<code class="script">bin/nlpcraft.sh help --cmd=gen-sql</code> to get a full
help on this command.</ul></div><div class="tab-pane fade show" id="nav-class"
role="tabpanel"><pre class="brush: bash">
$ java -cp apache-nlpcraft-incubating-0.9.0-all-deps.jar
org.apache.nlpcraft.model.tools.sqlgen.NCSqlModelGenerator
- </pre><p> <b>NOTES:</b></p><ul><li> Run this class without
arguments to get a full help.<li> Use
<code>org.apache.nlpcraft.model.tools.sqlgen.NCSqlModelGenerator</code> class
directly to execute it from IDE or programmatically.</ul></div></div><p> After
the data model stub is generated:</p><ul><li> Load generated YAML/JSON-based
model using <a target="javadoc"
href="https://javadoc.io/static/org.apache.nlpcraft/nlpcraft/0.5.0/org/apache/nlpcraft/model/NCModelFileAdapter.h
[...]
+ </pre><p> <b>NOTES:</b></p><ul><li> Run this class without
arguments to get a full help.<li> Use
<code>org.apache.nlpcraft.model.tools.sqlgen.NCSqlModelGenerator</code> class
directly to execute it from IDE or programmatically.</ul></div></div><p> After
the data model stub is generated:</p><ul><li> Load generated YAML/JSON-based
model using <a target="javadoc"
href="https://javadoc.io/static/org.apache.nlpcraft/nlpcraft/0.5.0/org/apache/nlpcraft/model/NCModelFileAdapter.h
[...]
diff --git a/tools/syn_tool.html b/tools/syn_tool.html
index 53bcf4c..cfd57ad 100644
--- a/tools/syn_tool.html
+++ b/tools/syn_tool.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 [...]
$ cd nlpcraft/src/main/python/ctxword
$ bin/install_dependencies.sh
</pre></div><div class="tab-pane fade show"
id="nav-win" role="tabpanel"><p></p><p> Read
<code>src\main\python\ctxword\bin\WINDOWS_SETUP.md</code> file for manual
installation instructions.</p></div></div><li> <em>Optional.</em> <br/>
Configure <code>nlpcraft.server.ctxword.url</code> property in
<code>nlpcraft.conf</code> file (or your own configuration file). This property
comes with a default endpoint and you only need to change it if you change the
'ctxword' m [...]
@@ -94,4 +94,4 @@
"Model has too few (3) intents samples. It will negatively affect the
quality of suggestions. Try to increase overall sample count to at least 20."
]
}
- </pre><p> The result is structured as a list of proposed synonyms with
their corresponding scores for each model's element. You should analyse the
results for their fitness for your model and its existing synonyms. The tool
cannot guarantee that every suggested synonym is appropriate or valid - but it
gives a good "courtesy" check for potentially missing synonyms.</p><div
class="bq info"><p> <b>Run Periodically</b></p><p> It is a good idea to run
this tool periodically if you are [...]
+ </pre><p> The result is structured as a list of proposed synonyms with
their corresponding scores for each model's element. You should analyse the
results for their fitness for your model and its existing synonyms. The tool
cannot guarantee that every suggested synonym is appropriate or valid - but it
gives a good "courtesy" check for potentially missing synonyms.</p><div
class="bq info"><p> <b>Run Periodically</b></p><p> It is a good idea to run
this tool periodically if you are [...]
diff --git a/tools/test_framework.html b/tools/test_framework.html
index c4dea6b..6adcb6e 100644
--- a/tools/test_framework.html
+++ b/tools/test_framework.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 [...]
public class AlarmTest {
private NCTestClient cli;
@@ -60,7 +60,8 @@ public class AlarmModel extends NCModelFileAdapter {
}
}
</pre><p> Auto model validator takes one or more model IDs (or class
names) and performs validation. Validation consists of starting an <a
href="/tools/embedded_probe.html">embedded probe</a> with a given model,
scanning for <a target="javadoc"
href="/apis/latest/org/apache/nlpcraft/model/NCIntentSample.html">@NCIntentSample</a>
and <a target="javadoc"
href="/apis/latest/org/apache/nlpcraft/model/NCIntentSampleRef.html">@NCIntentSampleRef</a>
annotations and their corresponding c [...]
+ $ bin/nlpcraft.sh help --cmd=test-model
$ bin/nlpcraft.sh test-model --cp=/path/to/my/model/classes
</pre><p> <b>NOTES:</b></p><ul><li> <a
href="/tools/script.html">NLPCraft CLI</a> is available as
<code>nlpcraft.sh</code> for <i class="fab fa-fw fa-linux"></i> and
<code>nlpcraft.cmd</code> for <i class="fab fa-fw fa-windows"></i>.<li> Run
<code class="script">bin/nlpcraft.sh help --cmd=test-model</code> to get a full
help on this command.<li> In REPL mode you can use <code>retest-model</code>
command to re-run the last mode test with the same parameters avoiding the ne
[...]
java -cp
apache-nlpcraft-incubating-0.9.0-all-deps.jar:/path/to/my/model/classes
-DNLPCRAFT_TEST_MODELS=org.apache.nlpcraft.examples.alarm.AlarmModel
org.apache.nlpcraft.model.tools.test.NCTestAutoModelValidator
- </pre><p> <b>NOTES:</b></p><ul><li> Make sure to add necessary
classpath components for the model(s) you want to auto-validate.<li>
<code>NLPCRAFT_TEST_MODELS</code> system property that should contain comma
separate list of the data model classes to test.<li> You can also use
<code>org.apache.nlpcraft.model.tools.test.NCTestAutoModelValidator</code>
class directly to call it programmatically from the code or from
IDE.</ul></div></div><p> In the log output you should see [...]
+ </pre><p> <b>NOTES:</b></p><ul><li> Make sure to add necessary
classpath components for the model(s) you want to auto-validate.<li> Specify
the following three system property (all optional):<table
class="gradient-table"><thead><tr><th>System
Property<th>Description<tbody><tr><td><code>NLPCRAFT_TEST_MODELS</code><td><p>
Optional system property that should contain comma separate list of the data
model classes to test. If not provided, the models from the probe configurati
[...]
diff --git a/use-cases.html b/use-cases.html
index 58790b9..22abbc2 100644
--- a/use-cases.html
+++ b/use-cases.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/using-rest.html b/using-rest.html
index cc054ca..63c5e0c 100644
--- a/using-rest.html
+++ b/using-rest.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 [...]
https://localhost:8081/api/v1/signin
</pre><p> where:<dl><dt><code>http</code><dd>Either <code>http</code>
or <code>https</code> protocol.<dt><code>localhost:8081</code><dd>Host and port
on which REST server is started. <code>localhost:8081</code> is the default
configuration and can be <a
href="/server-and-probe.html">changed</a>.<dt><code>/api/v1</code><dd>Mandatory
prefix indicating API version.<dt><code>/signin</code><dd>Specific REST
path.</dl><div class="bq info"><p> <b>Management Script</b></p><p> <a href="/t
[...]
{
"code": "NC_INVALID_ACCESS_TOKEN",
"msg": "Unknown access token: PPdxjwXBOIMpAWNgpKq1"
}
- </pre><p> Following tables shows all possible <code>code</code> values
for these server errors:</p><table
class="gradient-table"><thead><tr><th>Code<th>Description<tbody><tr><td><code>NC_INVALID_ACCESS_TOKEN</code><td>
The access token is invalid or no longer valid. Note that previously issued
existing access tokens can expire or be otherwise invalidated and have to be
obtained again.<tr><td><code>NC_SIGNIN_FAILURE</code><td> Invalid or unknown
user email and/or user password dur [...]
+ </pre><p> Following tables shows all possible <code>code</code> values
for these server errors:</p><table
class="gradient-table"><thead><tr><th>Code<th>Description<tbody><tr><td><code>NC_INVALID_ACCESS_TOKEN</code><td>
The access token is invalid or no longer valid. Note that previously issued
existing access tokens can expire or be otherwise invalidated and have to be
obtained again.<tr><td><code>NC_SIGNIN_FAILURE</code><td> Invalid or unknown
user email and/or user password dur [...]