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

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


The following commit(s) were added to refs/heads/NLPCRAFT-513 by this push:
     new 43fd02e  WIP.
43fd02e is described below

commit 43fd02ef4f54977fde8f0b52c68c90d5e8fcc8af
Author: skhdl <[email protected]>
AuthorDate: Fri Oct 21 15:24:59 2022 +0400

    WIP.
---
 examples/light_switch.html    | 10 +++++-----
 examples/light_switch_fr.html | 14 +++++++-------
 examples/light_switch_ru.html | 16 ++++++++--------
 3 files changed, 20 insertions(+), 20 deletions(-)

diff --git a/examples/light_switch.html b/examples/light_switch.html
index aea3015..b0e7c28 100644
--- a/examples/light_switch.html
+++ b/examples/light_switch.html
@@ -123,7 +123,7 @@ fa_icon: fa-cube
                   - "{out|no|off|down} &lt;LIGHT&gt;"
                   - "&lt;LIGHT&gt; {out|off|down}"
         </pre>
-        <p>There are number of important points here:</p>
+
         <ul>
             <li>
                 <code>Line 1</code> defines several macros that are used later 
on throughout the model's elements
@@ -192,13 +192,13 @@ fa_icon: fa-cube
                 described in <code>lightswitch_model.yaml</code> file.
             </li>
             <li>
-                <code>Lines 10 and 11</code> annotates intents <code>ls</code> 
and its callback method <code>onMatch</code>.
+                <code>Lines 10 and 11</code> annotates intents <code>ls</code> 
and its callback method <code>onMatch()</code>.
                 Intent <code>ls</code> requires one action (a token belonging 
to the group <code>act</code>) and optional list of light locations
                 (zero or more tokens with ID <code>ls:loc</code>) - by default 
we assume the entire house as a default location.
             </li>
             <li>
                 <code>Lines 14 and 15</code> map terms from detected intent to 
the formal method parameters of the
-                <code>onMatch</code> method.
+                <code>onMatch()</code> method.
             </li>
             <li>
                 On the <code>line 22</code> the intent callback simply returns 
a confirmation message.
@@ -252,10 +252,10 @@ fa_icon: fa-cube
         </pre>
         <ul>
             <li>
-                On <code>line 9</code> the client for our model is created.
+                <code>Line 9</code> creates the client for our model.
             </li>
             <li>
-                On <code>line 11</code> a special method <code>debugAsk</code> 
is called.
+                <code>Line 11</code> calls a special method 
<code>debugAsk()</code>.
                 It allows to check the winning intent and its callback 
parameters without actually
                 calling the intent.
             </li>
diff --git a/examples/light_switch_fr.html b/examples/light_switch_fr.html
index d3d0047..5c8221e 100644
--- a/examples/light_switch_fr.html
+++ b/examples/light_switch_fr.html
@@ -59,13 +59,13 @@ fa_icon: fa-cube
         </pre>
 
         <p>
-            On <code>lines 8, 9 and 10</code> added libraries, which used for 
support base NLP operations with French language.
+            <code>Lines 8, 9 and 10</code> add libraries which used for 
support base NLP operations with French language.
         </p>
 
         <p><b>NOTE: </b>use the latest versions of Scala and ScalaTest.</p>
         <p>Create the following files so that resulting project structure 
would look like the following:</p>
         <ul>
-            <li><code>lightswitch_model_fr.yaml</code> - YAML configuration 
file, which contains model description.</li>
+            <li><code>lightswitch_model_fr.yaml</code> - YAML configuration 
file which contains model description.</li>
             <li><code>LightSwitchFrModel.scala</code> - Model 
implementation.</li>
             <li><code>NCFrSemanticEntityParser.scala</code> - Semantic entity 
parser, custom implementation for French language.</li>
             <li><code>NCFrLemmaPosTokenEnricher.scala</code> - Lemma and point 
of speech token enricher, custom implementation for French language.</li>
@@ -141,7 +141,7 @@ fa_icon: fa-cube
                   - "&lt;KILL&gt; &lt;LIGHT&gt;"
                   - "&lt;LIGHT&gt; &lt;KILL&gt;"
         </pre>
-        <p>There are number of important points here:</p>
+
         <ul>
             <li>
                 <code>Line 1</code> defines several macros that are used later 
on throughout the model's elements
@@ -281,7 +281,7 @@ fa_icon: fa-cube
                 open source <a href="https://languagetool.org";>Language 
Tool</a> library.
             </li>
             <li>
-                On <code>line 19</code> the <code>NCToken</code> instances 
created.
+                <code>Line 19</code> creates the <code>NCToken</code> instance.
             </li>
         </ul>
 
@@ -323,7 +323,7 @@ fa_icon: fa-cube
         </pre>
         <ul>
             <li>
-                <code>NCFrLemmaPosTokenEnricher</code> lemma and point of 
speech tokens enricher based on
+                <code>NCFrLemmaPosTokenEnricher</code> lemma and point of 
speech tokens enricher is based on
                 open source <a href="https://languagetool.org";>Language 
Tool</a> library.
             </li>
             <li>
@@ -446,10 +446,10 @@ fa_icon: fa-cube
         </pre>
         <ul>
             <li>
-                On <code>line 9</code> the client for our model is created.
+                <code>Line 9</code> creates the client for our model.
             </li>
             <li>
-                On <code>line 11</code> a special method <code>debugAsk</code> 
is called.
+                <code>Line 11</code> calls a special method 
<code>debugAsk()</code>.
                 It allows to check the winning intent and its callback 
parameters without actually
                 calling the intent.
             </li>
diff --git a/examples/light_switch_ru.html b/examples/light_switch_ru.html
index 1fb5aa8..7c0a957 100644
--- a/examples/light_switch_ru.html
+++ b/examples/light_switch_ru.html
@@ -59,13 +59,13 @@ fa_icon: fa-cube
         </pre>
 
         <p>
-            On <code>lines 8, 9 and 10</code> added libraries, which used for 
support base NLP operations with Russian language.
+            <code>Lines 8, 9 and 10</code> add libraries which used for 
support base NLP operations with Russian language.
         </p>
 
         <p><b>NOTE: </b>use the latest versions of Scala and ScalaTest.</p>
         <p>Create the following files so that resulting project structure 
would look like the following:</p>
         <ul>
-            <li><code>lightswitch_model_ru.yaml</code> - YAML configuration 
file, which contains model description.</li>
+            <li><code>lightswitch_model_ru.yaml</code> - YAML configuration 
file which contains model description.</li>
             <li><code>LightSwitchRuModel.scala</code> - Model 
implementation.</li>
             <li><code>NCRuSemanticEntityParser.scala</code> - Semantic entity 
parser, custom implementation for Russian language.</li>
             <li><code>NCRuLemmaPosTokenEnricher.scala</code> - Lemma and point 
of speech token enricher, custom implementation for Russian language.</li>
@@ -138,7 +138,7 @@ fa_icon: fa-cube
                   - "&lt;TURN_OFF&gt; &lt;ENTIRE_OPT&gt; &lt;LIGHT_OPT&gt;"
                   - "без &lt;ENTIRE_OPT&gt; &lt;LIGHT_OPT&gt;"
         </pre>
-        <p>There are number of important points here:</p>
+
         <ul>
             <li>
                 <code>Line 1</code> defines several macros that are used later 
on throughout the model's elements
@@ -214,7 +214,7 @@ fa_icon: fa-cube
                 <code>Line 12</code> creates model configuration with most 
default parameters.
             </li>
             <li>
-                <code>Line 13</code> creates pipeline, based on custom Russian 
language components, which are described below.
+                <code>Line 13</code> creates pipeline based on custom Russian 
language components:
                 <ul>
                     <li><code>NCRuTokenParser</code> - Token parser.</li>
                     <li><code>NCRuLemmaPosTokenEnricher</code> - Lemma and 
point of speech token enricher.</li>
@@ -282,7 +282,7 @@ fa_icon: fa-cube
                 open source <a href="https://languagetool.org";>Language 
Tool</a> library.
             </li>
             <li>
-                On <code>line 19</code> the <code>NCToken</code> instances 
created.
+                <code>Line 19</code> creates the <code>NCToken</code> instance.
             </li>
         </ul>        
 
@@ -325,7 +325,7 @@ fa_icon: fa-cube
 
         <ul>
             <li>
-                <code>NCRuLemmaPosTokenEnricher</code> lemma and point of 
speech tokens enricher based on
+                <code>NCRuLemmaPosTokenEnricher</code> lemma and point of 
speech tokens enricher is based on
                 open source <a href="https://languagetool.org";>Language 
Tool</a> library.
             </li>
             <li>
@@ -440,10 +440,10 @@ fa_icon: fa-cube
         </pre>
         <ul>
             <li>
-                On <code>line 9</code> the client for our model is created.
+                <code>Line 9</code> creates the client for our model.
             </li>
             <li>
-                On <code>line 11</code> a special method <code>debugAsk</code> 
is called.
+                <code>Line 11</code> calls a special method 
<code>debugAsk()</code>.
                 It allows to check the winning intent and its callback 
parameters without actually
                 calling the intent.
             </li>

Reply via email to