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 c6d1594 Blogs update.
c6d1594 is described below
commit c6d15947e157c7586a5da7e7c8dab5c811928976
Author: Aaron Radzinski <[email protected]>
AuthorDate: Fri Jun 11 13:48:58 2021 -0700
Blogs update.
---
blogs.html | 2 +-
blogs/composable_named_entities.html | 2 +-
blogs/nlpcraft-idl-intent-definition-language.html | 2 +-
blogs/quick_intro_apache_nlpcraft.html | 2 +-
blogs/short_term_memory.html | 2 +-
feed.xml | 2 +-
server-and-probe.html | 30 +++++++++++-----------
7 files changed, 21 insertions(+), 21 deletions(-)
diff --git a/blogs.html b/blogs.html
index 52820f4..862047b 100644
--- a/blogs.html
+++ b/blogs.html
@@ -15,4 +15,4 @@
limitations under the License.
-->
-<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
+<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
diff --git a/blogs/composable_named_entities.html
b/blogs/composable_named_entities.html
index a45ef71..0607f9b 100644
--- a/blogs/composable_named_entities.html
+++ b/blogs/composable_named_entities.html
@@ -15,7 +15,7 @@
limitations under the License.
-->
-<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
+<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
"elements": [
{
"id": "custom:city:usa",
diff --git a/blogs/nlpcraft-idl-intent-definition-language.html
b/blogs/nlpcraft-idl-intent-definition-language.html
index 8c979d7..b58cc6a 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}
diff --git a/blogs/quick_intro_apache_nlpcraft.html
b/blogs/quick_intro_apache_nlpcraft.html
index 89aaf87..47acd25 100644
--- a/blogs/quick_intro_apache_nlpcraft.html
+++ b/blogs/quick_intro_apache_nlpcraft.html
@@ -15,7 +15,7 @@
limitations under the License.
-->
-<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
+<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
id: "nlpcraft.lightswitch.ex"
name: "Light Switch Example Model"
version: "1.0"
diff --git a/blogs/short_term_memory.html b/blogs/short_term_memory.html
index 58e297b..fc0b8cd 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/feed.xml b/feed.xml
index e83240d..9042f80 100644
--- a/feed.xml
+++ b/feed.xml
@@ -1 +1 @@
-<?xml version="1.0" encoding="utf-8"?><feed
xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/"
version="4.1.1">Jekyll</generator><link href="http://localhost:4000/feed.xml"
rel="self" type="application/atom+xml" /><link href="http://localhost:4000/"
rel="alternate" type="text/html"
/><updated>2021-06-11T10:14:24-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-06-11T13:46:35-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/server-and-probe.html b/server-and-probe.html
index 8f16b44..42b8d3e 100644
--- a/server-and-probe.html
+++ b/server-and-probe.html
@@ -21,32 +21,32 @@
$ java -Xms1024m -jar
apache-nlpcraft-incubating-0.8.0-all-deps.jar -server
</pre><p> If specifying additional classpath components and
need <code>-cp</code> parameter:</p><pre class="brush: bash">
$ java -Xms1024m -cp
apache-nlpcraft-incubating-0.8.0-all-deps.jar org.apache.nlpcraft.NCStart
-server
- </pre><p> <b>NOTES:</b></p><ul><li> Make sure to provide
correct path to
<code>apache-nlpcraft-incubating-<b>0.8.0</b>-all-deps.jar</code> file.<li>
Class <code>org.apache.nlpcraft.NCStart</code> is a common entry point for all
NLPCraft runtime components.<li> Class <code>org.apache.nlpcraft.NCStart</code>
should be used to star REST server from IDE.</ul><p> Parameters:</p><dl><dt>
<code>-server</code><dd> <em>Mandatory</em> parameter to indicate that you are
starting the [...]
+ </pre><p> <b>NOTES:</b></p><ul><li> Make sure to provide
correct path to
<code>apache-nlpcraft-incubating-<b>0.8.0</b>-all-deps.jar</code> file.<li>
Class <code>org.apache.nlpcraft.NCStart</code> is a common entry point for all
NLPCraft runtime components and can be used to start REST server from
IDE.</ul><p> <b>Parameters</b>:</p><dl><dt> <code>-server</code><dd>
<em>Mandatory</em> parameter to indicate that you are starting the REST
server.<dt><code>-config=path</code>< [...]
+ --add-opens=java.base/jdk.internal.misc=ALL-UNNAMED
+ --add-opens=java.base/sun.nio.ch=ALL-UNNAMED
+ --add-opens=java.base/java.nio=ALL-UNNAMED
+ --add-opens=java.base/java.io=ALL-UNNAMED
+ --add-opens=java.base/java.util=ALL-UNNAMED
+ --add-opens=java.base/java.lang=ALL-UNNAMED
+
--add-opens=java.management/com.sun.jmx.mbeanserver=ALL-UNNAMED
+
--add-opens=jdk.internal.jvmstat/sun.jvmstat.monitor=ALL-UNNAMED
+
--add-opens=java.base/sun.reflect.generics.reflectiveObjects=ALL-UNNAMED
+
--add-opens=jdk.management/com.sun.management.internal=ALL-UNNAMED
+ --illegal-access=permit
+ </pre><p> <b>NOTES:</b></p><ul><li> <a
href="/tools/script.html"><code>nlpcraft.{sh|cmd}</code></a> script
automatically uses these options for <code>start-server</code>
command.</ul><div class="bq success"> Since this list of required VM options is
long it is rather impractical and inconvenient to use it from the command line.
It is <b>highly recommended</b> to either use IDE or <a
href="/tools/script.html"><code>nlpcraft.{sh|cmd}</code></a> script to manage
REST server [...]
$ docker run -m 8G -p 8081:8081 -p 8201:8201 -p 8202:8202
nlpcraftserver/server:0.8.0
</pre></div></div><h2 class="section-sub-title">JVM Memory <a
href="#"><i class="top-link fas fa-fw fa-angle-double-up"></i></a></h2><p> Make
sure to allocate enough memory for server JVM using <code>-Xms</code> JVM
option, i.e. <code>-Xms1024m</code>. Many 3rd party NLP engines like Stanford
CoreNLP are very memory intensive and may require several GBs of JVM heap
allocated depending on the models used. Note that when server JVM has
insufficient heap memory the Apache Ig [...]
Jul-22 13:27:56 [INFO ] ...
Jul-22 13:28:08 [WARN ] Possible too long JVM pause: 11364
milliseconds.
Jul-22 13:28:11 [INFO ] ...
- </pre><p> <b>NOTES:</b></p><ul><li> <a
href="/tools/script.html"><code>nlpcraft.{sh|cmd}</code></a> script
automatically uses <code>-Xms1024m</code> for <code>start-server</code>
command.</ul><p> The abnormally long GC pauses (over 5s) can be caused by the
excessive memory swapping performed by OS due to insufficient JVM heap
memory.</p><h2 class="section-sub-title">Apache Ignite 2.x and JDK 11 <a
href="#"><i class="top-link fas fa-fw fa-angle-double-up"></i></a></h2><p>
NLPCraft [...]
---add-opens=java.base/jdk.internal.misc=ALL-UNNAMED
---add-opens=java.base/sun.nio.ch=ALL-UNNAMED
---add-opens=java.base/java.nio=ALL-UNNAMED
---add-opens=java.base/java.io=ALL-UNNAMED
---add-opens=java.base/java.util=ALL-UNNAMED
---add-opens=java.base/java.lang=ALL-UNNAMED
---add-opens=java.management/com.sun.jmx.mbeanserver=ALL-UNNAMED
---add-opens=jdk.internal.jvmstat/sun.jvmstat.monitor=ALL-UNNAMED
---add-opens=java.base/sun.reflect.generics.reflectiveObjects=ALL-UNNAMED
---add-opens=jdk.management/com.sun.management.internal=ALL-UNNAMED
---illegal-access=permit
- </pre><p> <b>NOTES:</b></p><ul><li> <a
href="/tools/script.html"><code>nlpcraft.{sh|cmd}</code></a> script
automatically uses these options for <code>start-server</code>
command.</ul></section><section id="probe"><h2 class="section-title">Data Probe
<a href="#"><i class="top-link fas fa-fw fa-angle-double-up"></i></a></h2><p>
Data probes are used to deploy and host data mode, and can also be started in
several ways:</p><nav><div class="nav nav-tabs" role="tablist"> <a class="nav-
[...]
+ </pre><p> <b>NOTES:</b></p><ul><li> <a
href="/tools/script.html"><code>nlpcraft.{sh|cmd}</code></a> script
automatically uses <code>-Xms1024m</code> for <code>start-server</code>
command.</ul><p> The abnormally long GC pauses (over 5s) can be caused by the
excessive memory swapping performed by OS due to insufficient JVM heap
memory.</p></section><section id="probe"><h2 class="section-title">Data Probe
<a href="#"><i class="top-link fas fa-fw fa-angle-double-up"></i></a></h2><p>
[...]
$ bin/nlpcraft.sh start-probe --cp=/path/to/model/classes
$ bin/nlpcraft.sh start-probe --cp=/path/to/model/classes
--mdls=com.package.MyModel
</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>
<code>--cp</code> parameter must provide additional JVM classpath for models to
deploy in this probe.<li> Optional <code>--mdls</code> parameter can be used to
specify a one or more specific models to deploy if more than one model is avai
[...]
$ java -jar apache-nlpcraft-incubating-0.8.0-all-deps.jar
-probe
</pre><p> If specifying additional classpath components and
need <code>-cp</code> parameter:</p><pre class="brush: bash">
java -cp
apache-nlpcraft-incubating-0.8.0-all-deps.jar:/my/project/classes
org.apache.nlpcraft.NCStart -probe -config=/my/project/probe.conf
- </pre><p> <b>NOTES:</b></p><ul><li> <code>/my/project</code>
directory contains user-defined model implementation<li> Make sure to provide
correct path to
<code>apache-nlpcraft-incubating-<b>0.8.0</b>-all-deps.jar</code> file.<li>
Class <code>org.apache.nlpcraft.NCStart</code> is a common entry point for all
NLPCraft runtime components.<li> Class <code>org.apache.nlpcraft.NCStart</code>
should be used to star data probe from IDE.</ul><p> Parameters:</p><dl><dt>
<code>-pro [...]
+ </pre><p> <b>NOTES:</b></p><ul><li> <code>/my/project</code>
directory contains user-defined model implementation<li> Make sure to provide
correct path to
<code>apache-nlpcraft-incubating-<b>0.8.0</b>-all-deps.jar</code> file.<li>
Class <code>org.apache.nlpcraft.NCStart</code> is a common entry point for all
NLPCraft runtime components.<li> Class <code>org.apache.nlpcraft.NCStart</code>
should be used to star data probe from IDE.</ul><p>
<b>Parameters:</b></p><dl><dt> <co [...]
<plugin>
<groupId>com.bazaarvoice.maven.plugins</groupId>
<artifactId>process-exec-maven-plugin</artifactId>