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 f3b0743 WIP.
f3b0743 is described below
commit f3b07437dcd9b348a392194fec0391e61b873fbc
Author: skhdl <[email protected]>
AuthorDate: Mon Oct 24 16:57:21 2022 +0400
WIP.
---
_includes/left-side-menu.html | 12 ++++++------
built-components.html | 3 +--
docs.html | 3 +++
semantic.html | 7 ++++---
short-term-memory.html | 24 ++++--------------------
5 files changed, 18 insertions(+), 31 deletions(-)
diff --git a/_includes/left-side-menu.html b/_includes/left-side-menu.html
index 40eec54..518b047 100644
--- a/_includes/left-side-menu.html
+++ b/_includes/left-side-menu.html
@@ -32,17 +32,17 @@
{% endif %}
</li>
<li>
- {% if page.id == "built-components" %}
- <a class="active" href="/built-components.html">Built components</a>
+ {% if page.id == "semantic" %}
+ <a class="active" href="/semantic.html">Semantic parser</a>
{% else %}
- <a href="/built-components.html">Built components</a>
+ <a href="/semantic.html">Semantic parser</a>
{% endif %}
</li>
<li>
- {% if page.id == "semantic" %}
- <a class="active" href="/semantic.html">Semantic model</a>
+ {% if page.id == "built-components" %}
+ <a class="active" href="/built-components.html">Built components</a>
{% else %}
- <a href="/semantic.html">Semantic model</a>
+ <a href="/built-components.html">Built components</a>
{% endif %}
</li>
<li>
diff --git a/built-components.html b/built-components.html
index f162a8e..c876535 100644
--- a/built-components.html
+++ b/built-components.html
@@ -128,7 +128,7 @@ id: overview
<li>
<a
href="apis/latest/org/apache/nlpcraft/nlp/parsers/NCSemanticEntityParser.html">NCSemanticEntityParser</a>
is entity parser which is based on list of synonyms elements.
It is very important component which allow to solve a
wide range of tasks.
- Separated chapter <a href="semantic.html">Semantic
model</a> is dedicated to its detailed description.
+ Separated chapter <a href="semantic.html">Semantic
parser</a> is dedicated to its detailed description.
</li>
</ul>
</li>
@@ -255,7 +255,6 @@ id: overview
<ul class="side-nav">
<li class="side-nav-title">On This Page</li>
<li><a href="#overview">Overview</a></li>
- <li><a href="#semantic">Semantic entity parsers</a></li>
<li><a href="#examples">Examples</a></li>
{% include quick-links.html %}
</ul>
diff --git a/docs.html b/docs.html
index 78e2e38..1a388df 100644
--- a/docs.html
+++ b/docs.html
@@ -24,6 +24,9 @@ id: overview
<div class="col-md-8 second-column">
<section id="overview">
<h2 class="section-title">Overview <a href="#"><i class="top-link fas
fa-fw fa-angle-double-up"></i></a></h2>
+
+ TODO:!
+
<p>
Apache NLPCraft is a JVM-based <a target=_blank
href="https://www.apache.org/licenses/">open source</a> library
for adding a natural language interface to modern applications.
It enables people to interact with your products using voice or text. NLPCraft
can connect with
diff --git a/semantic.html b/semantic.html
index bfde0c5..c53cdf6 100644
--- a/semantic.html
+++ b/semantic.html
@@ -23,12 +23,13 @@ id: semantic
<div class="col-md-8 second-column">
<section id="overview">
- <h2 class="section-title">Semantic model<a href="#"><i class="top-link
fas fa-fw fa-angle-double-up"></i></a></h2>
+ <h2 class="section-title">Semantic parser<a href="#"><i
class="top-link fas fa-fw fa-angle-double-up"></i></a></h2>
<p>
Semantic entity parser <a
href="apis/latest/org/apache/nlpcraft/nlp/parsers/NCSemanticEntityParser.html">NCSemanticEntityParser</a>
- is the implementation of <a
href="apis/latest/org/apache/nlpcraft/NCEntityParser.html">NCEntityParser</a>
- which deserves a special mention.
+ is the implementation of <a
href="apis/latest/org/apache/nlpcraft/NCEntityParser.html">NCEntityParser</a>.
+ In spite of that it is just one of defined in NlpCraft built
component, it deserves a special mention.
+ This parser provides simple but very powerful way to find domain
specific data in the input text.
It defines list of <a
href="apis/latest/org/apache/nlpcraft/nlp/parsers/NCSemanticElement.html">NCSemanticElement</a>
which are represent <a
href="https://en.wikipedia.org/wiki/Named-entity_recognition">Named
entities</a>.
We will name this list as <code>Semantic Model</code>.
diff --git a/short-term-memory.html b/short-term-memory.html
index 22a4eea..e349c31 100644
--- a/short-term-memory.html
+++ b/short-term-memory.html
@@ -112,7 +112,7 @@ id: short_term_memory
period of time, i.e. it “forgets” the conversational context after
few minutes of inactivity.
Note also that conversational context can also be cleared
explicitly
via <a
href="https://app.swaggerhub.com/apis-docs/Apache-NLPCraft/apache-nlpcraft/{{site.latest_version}}"
target="swaggerhub">REST API</a>
- or from the <a class="not-code" target="javadoc"
href="/apis/latest/org/apache/nlpcraft/model/NCConversation.html">code</a>.
+ or from the <a class="not-code" target="javadoc"
href="/apis/latest/org/apache/nlpcraft/NCConversation.html">code</a>.
</p>
<p>
To understand the algorithm behind the STM management let's back
up a few steps...
@@ -184,22 +184,6 @@ id: short_term_memory
Entities that additionally have one or more specific values
like <code>current</code> and <code>Tokyo</code> entities.
</li>
</ul>
- <div class="bq info">
- <div style="display: inline-block; margin-bottom: 20px">
- <a style="margin-right: 10px" target=_
href="https://opennlp.apache.org"><img src="/images/opennlp-logo-h32.png"
alt=""></a>
- <a style="margin-right: 10px" target=_
href="https://cloud.google.com/natural-language/"><img
src="/images/google-cloud-logo-small-h32.png" alt=""></a>
- <a style="margin-right: 10px" target=_
href="https://stanfordnlp.github.io/CoreNLP"><img
src="/images/corenlp-logo-h48.png" alt=""></a>
- <a style="margin-right: 10px" target=_
href="https://spacy.io"><img src="/images/spacy-logo-h32.png" alt=""></a>
- </div>
- <p>
- Note that NLPCraft provides <a
href="/integrations.html">support</a> for wide variety of named entities (with
all built-in ones being properly normalized)
- including <a href="/integrations.html">integrations</a> with
- <a target="spacy" href="https://spacy.io/">spaCy</a>,
- <a target="stanford"
href="https://stanfordnlp.github.io/CoreNLP">Stanford CoreNLP</a>,
- <a target="opennlp"
href="https://opennlp.apache.org/">OpenNLP</a> and
- <a target="google"
href="https://cloud.google.com/natural-language/">Google Natural Language</a>.
- </p>
- </div>
</section>
<section id="incomplete">
<h2 class="section-title">Incomplete Sentences <a href="#"><i
class="top-link fas fa-fw fa-angle-double-up"></i></a></h2>
@@ -280,11 +264,11 @@ id: short_term_memory
can have a "soft" context switch where you don't change the topic
of the conversation 100% but yet sufficiently
enough to forget at least some parts of the previously collected
context. NLPCraft has a built-in algorithm
to detect the hard switch in the conversation. It also exposes
- <a class="not-code" target="javadoc"
href="/apis/latest/org/apache/nlpcraft/model/NCConversation.html">API</a> to
perform a selective reset on the
+ <a class="not-code" target="javadoc"
href="/apis/latest/org/apache/nlpcraft/NCConversation.html">API</a> to perform
a selective reset on the
conversation in case of "soft" switch.
</p>
<p>
- See <a class="javadoc"
href="/apis/latest/org/apache/nlpcraft/model/NCConversation.html">NCConversion</a>
interface
+ See <a class="javadoc"
href="/apis/latest/org/apache/nlpcraft/NCConversation.html">NCConversion</a>
interface
for API details for STM management.
</p>
</section>
@@ -468,7 +452,7 @@ id: short_term_memory
</p>
<p>
In NLPCraft you can also explicitly reset conversation context
through
- <a class="not-code" target="javadoc"
href="/apis/latest/org/apache/nlpcraft/model/NCConversation.html">API</a>
+ <a class="not-code" target="javadoc"
href="/apis/latest/org/apache/nlpcraft/NCConversation.html">API</a>
or by switching the model on the request.
</p>
</section>