You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nlpcraft.apache.org by ar...@apache.org on 2020/09/30 20:14:00 UTC

[incubator-nlpcraft-website] branch master updated: WIP on prep for 0.7.0 release.

This is an automated email from the ASF dual-hosted git repository.

aradzinski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft-website.git


The following commit(s) were added to refs/heads/master by this push:
     new 109f1f9  WIP on prep for 0.7.0 release.
109f1f9 is described below

commit 109f1f95530c5983ab2e40c53f743d9a2edfe82b
Author: Aaron Radzinski <ar...@datalingvo.com>
AuthorDate: Wed Sep 30 13:13:50 2020 -0700

    WIP on prep for 0.7.0 release.
---
 _layouts/default.html     |   3 +++
 download.html             |   2 +-
 first-example.html        |  40 ++++------------------------------------
 images/scala-logo.png     | Bin 0 -> 12480 bytes
 installation.html         |   7 ++++---
 tools/embedded_probe.html |   3 ++-
 6 files changed, 14 insertions(+), 41 deletions(-)

diff --git a/_layouts/default.html b/_layouts/default.html
index 191d377..4f1adcd 100644
--- a/_layouts/default.html
+++ b/_layouts/default.html
@@ -144,6 +144,9 @@ layout: compress
                 <a target="github" href="https://github.com/apache/incubator-nlpcraft/actions"><img src="https://github.com/apache/incubator-nlpcraft/workflows/build/badge.svg"></a>
                 <a target=_ href="https://gitter.im/apache-nlpcraft/community"><img alt="Gitter" src="https://badges.gitter.im/apache-nlpcraft/community.svg"></a>
             </span>
+            <span class="ml-2">
+                Built in:<a target="scala" href="https://scala-lang.org/"><img style="margin-left: 5px" height="16px" src="/images/scala-logo.png" alt=""></a>
+            </span>
         </div>
     </div>
 </div>
diff --git a/download.html b/download.html
index 2ba6bb8..b22e455 100644
--- a/download.html
+++ b/download.html
@@ -60,7 +60,7 @@ layout: interior
             </p>
         </section>
         <section id="src">
-            <h2 class="section-title">Apache Official Release</h2>
+            <h2 class="section-title">Official Apache Release</h2>
             <p>
                 Download the NLPCraft release - <code><b>{{site.latest_version}}</b></code> is the latest version:
             </p>
diff --git a/first-example.html b/first-example.html
index 018693d..ee8c775 100644
--- a/first-example.html
+++ b/first-example.html
@@ -80,13 +80,14 @@ id: first_example
             &lt;/dependencies&gt;
         </pre>
         <p>
-            Also make sure that you have correct JDK version (1.8 or above) for the maven compiler plugin:
+            Also make sure that you have correct JDK version (11 or above) for the
+            <a target="asf" href="https://maven.apache.org/plugins/maven-compiler-plugin/examples/set-compiler-source-and-target.html">maven compiler plugin</a>:
         </p>
         <pre class="brush: xml, highlight: [3, 4]">
             &lt;properties&gt;
                 &lt;project.build.sourceEncoding&gt;UTF-8&lt;/project.build.sourceEncoding&gt;
-                &lt;maven.compiler.source&gt;1.8&lt;/maven.compiler.source&gt;
-                &lt;maven.compiler.target&gt;1.8&lt;/maven.compiler.target&gt;
+                &lt;maven.compiler.source&gt;11&lt;/maven.compiler.source&gt;
+                &lt;maven.compiler.target&gt;11&lt;/maven.compiler.target&gt;
             &lt;/properties&gt;
         </pre>
         <p>
@@ -256,39 +257,6 @@ class LightSwitchModel extends NCModelFileAdapter("examples/lightswitch_model.ya
             </li>
         </ul>
     </section>
-<!--    <section id="probe">-->
-<!--        <h3 class="section-title">Start Data Probe</h3>-->
-<!--        <p>-->
-<!--            NLPCraft data models get deployed into data probe. Let's start data probe to deploy our newly-->
-<!--            created light switch data model. To start data probe we need to configure Run Configuration in IDEA with-->
-<!--            the following parameters:-->
-<!--        </p>-->
-<!--        <ul>-->
-<!--            <li>-->
-<!--                <b>Main class:</b> <code>org.apache.nlpcraft.NCStart</code>-->
-<!--            </li>-->
-<!--            <li>-->
-<!--                <b>VM arguments:</b> <code>-Dconfig.override_with_env_vars=true</code>-->
-<!--            </li>-->
-<!--            <li>-->
-<!--                <b>Environment variable:</b> <code>CONFIG_FORCE_nlpcraft_probe_models.0=examples.LightSwitchModel</code>-->
-<!--            </li>-->
-<!--            <li>-->
-<!--                <b>Program arguments: </b> <code>-probe</code>-->
-<!--            </li>-->
-<!--        </ul>-->
-<!--        <div class="bq info">-->
-<!--            <p>-->
-<!--                <b>NOTE:</b> instead of supplying a <a href="server-and-probe.html">full configuration file</a> we-->
-<!--                just use the default configuration and override one configuration property using-->
-<!--                configuration override via environment variables.-->
-<!--            </p>-->
-<!--        </div>-->
-<!--        <p>-->
-<!--            Start this run configuration and make sure you have positive console output indicating that our model-->
-<!--            has been successfully loaded and probe started.-->
-<!--        </p>-->
-<!--    </section>-->
     <section id="server">
         <h3 class="section-title">Start REST Server</h3>
         <p>
diff --git a/images/scala-logo.png b/images/scala-logo.png
new file mode 100644
index 0000000..cf484c1
Binary files /dev/null and b/images/scala-logo.png differ
diff --git a/installation.html b/installation.html
index eabc5b1..8c8c31b 100644
--- a/installation.html
+++ b/installation.html
@@ -28,7 +28,7 @@ id: installation
             Apache NLPCraft requires <b>no special installation</b> operations:
         </p>
         <ul>
-            <li>If you <a href="/download.html">downloaded</a> binary ZIP archive - verify it and unzip it</li>
+            <li>If you <a href="/download.html">downloaded</a> binary ZIP archive - <a target="asf" href="https://www.apache.org/dyn/closer.cgi#verify">verify</a> it and unzip it</li>
             <li>If you <a href="/download.html">cloned</a> GitHub repository or downloaded source archive - use <code>mvn clean install</code> to build it</li>
             <li>If you <a href="/download.html">used</a> Maven/Gradle/SBT - you know what you are doing 👍</li>
         </ul>
@@ -43,9 +43,10 @@ id: installation
             On subsequent starts the NLPCraft will check for the updates and will re-download these files only if they were changed.
         </p>
         <p>
-            By default, this external configuration is hosted on GitHub (<code>master</code> branch of NLPCraft project) from where it will
+            By default, this external configuration is hosted on GitHub (in <code>master</code> branch of NLPCraft project) from where it will
             be automatically downloaded on the first start: <a target="github" href="https://github.com/apache/incubator-nlpcraft/tree/master/external">https://github.com/apache/incubator-nlpcraft/tree/master/external</a>.
-            You can change this location, e.g. move external configuration behind your firewall, as well as change other parameters related to auto-download of the external configuration
+            You can change this location, e.g. move the external configuration behind your firewall or onto your local file system,
+            as well as change other parameters related to auto-download of the external configuration
             in <code>nlpcraft.conf</code> file (see <code>nlpcraft.extConfig</code> property).
         </p>
     </section>
diff --git a/tools/embedded_probe.html b/tools/embedded_probe.html
index 213488e..0be9f61 100644
--- a/tools/embedded_probe.html
+++ b/tools/embedded_probe.html
@@ -44,7 +44,8 @@ id: embedded_probe
         <p>
             When performing model unit testing or when client "application" can be combined with the data probe in a single JVM, the
             embedded probe mode provides significant performance advantage. Using embedded probe you can reduce number
-            of network hops to 2 in a similar scenario (see fig 2.):
+            of network hops to 2 in a similar scenario - in which case the <b>hop<sub>3</sub></b> and
+            <b>hop<sub>4</sub></b> (see fig. 1) are performed inside of JVM between client and embedded probe:
         </p>
         <figure>
             <img class="img-fluid" style="max-width: 500px !important;" src="/images/emb_probe2.png" alt="">