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 2021/01/18 04:00:10 UTC
[incubator-nlpcraft-website] branch master updated: WIP on blogs.
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 45337be WIP on blogs.
45337be is described below
commit 45337be10b0d7aae3ba74af5cedd5177afb9fdd2
Author: Aaron Radzinski <ar...@datalingvo.com>
AuthorDate: Sun Jan 17 19:59:21 2021 -0800
WIP on blogs.
---
_config.yml | 5 +++++
_data/blogs.yaml | 8 ++++++--
_data/news.yml | 9 +++++++++
_scss/blogs.scss | 2 +-
blogs.html | 3 ++-
blogs/how_to_find_something_in_the_text.html | 18 +++++++++---------
6 files changed, 32 insertions(+), 13 deletions(-)
diff --git a/_config.yml b/_config.yml
index 6c2f8a0..065dc6e 100644
--- a/_config.yml
+++ b/_config.yml
@@ -44,9 +44,14 @@ compress_html:
profile: false
startings: [html, head, body]
+minify_html: false
+
# Build settings.
markdown: kramdown
plugins:
- jekyll-feed
- jekyll-seo-tag
+exclude:
+ - node_modules
+
diff --git a/_data/blogs.yaml b/_data/blogs.yaml
index 84ce2d1..25dee25 100644
--- a/_data/blogs.yaml
+++ b/_data/blogs.yaml
@@ -15,8 +15,8 @@
# limitations under the License.
#
-- title: Преобразование текстовых запросов в SQL
- url: https://habr.com/ru/post/536720/
+- title: How To Find Something In The Text
+ url: /blogs/how_to_find_something_in_the_text.html
excerpt: Most of the NLP tasks start with the basic challenge - how to find or detect something in the text. Whether you are designing a search engine, conversational interface or some sort of classificator you will likely start with a problem of how to detect named entities in the input text. These named entities can be universal such as dates, countries, cities as well as domain specific for your model. It is also important to note that we are talking about a class of NLP tasks where [...]
author: Aaron Radzinski
publish_date: January 20, 2021
@@ -32,6 +32,7 @@
avatar_url: images/sergey_kamov_avatar.png
twitter_id: apachenlpcraft
href_target: habr
+ ru: true
- title: Проектируем интенты с Apache NlpCraft
url: https://habr.com/ru/post/534034/
@@ -41,6 +42,7 @@
avatar_url: images/sergey_kamov_avatar.png
twitter_id: apachenlpcraft
href_target: habr
+ ru: true
- title: Как найти что-то в тексте
url: https://habr.com/ru/post/530878/
@@ -50,6 +52,7 @@
avatar_url: images/sergey_kamov_avatar.png
twitter_id: apachenlpcraft
href_target: habr
+ ru: true
- title: Quick Introduction to Apache NLPCraft
url: /blogs/quick_intro_apache_nlpcraft.html
@@ -68,6 +71,7 @@
avatar_url: images/sergey_kamov_avatar.png
twitter_id: apachenlpcraft
href_target: habr
+ ru: true
- title: Short-Term Memory - Maintaining Conversation Context
url: /blogs/short_term_memory.html
diff --git a/_data/news.yml b/_data/news.yml
index 58380e8..639a02f 100644
--- a/_data/news.yml
+++ b/_data/news.yml
@@ -15,6 +15,15 @@
# limitations under the License.
#
+- title: How To Find Something In The Text
+ url: /blogs/how_to_find_something_in_the_text.html
+ excerpt: Most of the NLP tasks start with the basic challenge - how to find or detect something in the text...
+ author: Aaron Radzinski
+ publish_date: January 20, 2021
+ avatar_url: images/lion.jpg
+ twitter_id: aaron_radzinski
+ href_target: _self
+
- title: Преобразование текстовых запросов в SQL
url: https://habr.com/ru/post/536720/
excerpt: На первый взгляд задача преобразования разобранного предложения в SQL — проблема чисто алгоритмическая...
diff --git a/_scss/blogs.scss b/_scss/blogs.scss
index 6b076c1..5330fc3 100644
--- a/_scss/blogs.scss
+++ b/_scss/blogs.scss
@@ -73,7 +73,7 @@ img.avatar-img {
}
a {
- color: #333;
+ color: $color-slack;
}
}
diff --git a/blogs.html b/blogs.html
index 171f111..e2a67cd 100644
--- a/blogs.html
+++ b/blogs.html
@@ -38,7 +38,7 @@ layout: interior
{% for news in site.data.blogs %}
<div class="blog-block">
<div class="blog-title">
- <a href="{{ news.url }}" target={{ news.href_target }}>
+ <a style="color: #{{ news.title_color }} !important;" href="{{ news.url }}" target={{ news.href_target }}>
{{ news.title }}
</a>
</div>
@@ -52,6 +52,7 @@ layout: interior
{% if news.medium_id %}<a target="medium" href="https://medium.com/@{{ news.medium_id}}"><i class="fab fa-fw fa-medium"></i></a>{% endif %}
{% if news.twitter_id %}<a target="twitter" href="https://twitter.com/{{ news.twitter_id}}"><i class="fab fa-fw fa-twitter"></i></a>{% endif %}
<span class="text-nowrap">{{news.publish_date}}</span>
+ {% if news.ru %}<img alt="" src="/images/ru-flag-128x128.png" width="24">{% endif %}
</div>
</div>
{% endfor %}
diff --git a/blogs/how_to_find_something_in_the_text.html b/blogs/how_to_find_something_in_the_text.html
index aeabe87..dea6d49 100644
--- a/blogs/how_to_find_something_in_the_text.html
+++ b/blogs/how_to_find_something_in_the_text.html
@@ -26,16 +26,16 @@ publish_date: January 20, 2021
-->
<section>
+ <div class="bq success">
+ This blog is an English adaptation of Sergey Kamov's <a target=habr href="https://habr.com/ru/post/530878/">blog</a> written in Russian.
+ </div>
<p>
- In this blog, I'll try to give a high-level overview of STM - Short-Term Memory, a technique used to
- maintain conversational context in NLPCraft. Maintaining the proper conversation context - remembering
- what the current conversation is about - is essential for all human interaction and thus essential for
- computer-based natural language understanding. To my knowledge, NLPCraft provides one of the most advanced
- implementations of STM, especially considering how tightly it is integrated with NLPCraft's unique
- intent-based matching (Google's <a target=google href="https://cloud.google.com/dialogflow/">DialogFlow</a> is very similar yet).
- </p>
- <p>
- Let's dive in.
+ Most of the NLP tasks start with the basic challenge - how to find or detect something in the text. Whether
+ you are designing a search engine, conversational interface or some sort of classificator you will likely
+ start with a problem of how to detect <a target="_new" href="https://www.wikiwand.com/en/Named_entity">named entities</a>
+ in the input text. These named entities can be universal
+ such as dates, countries, cities as well as domain specific for your model. It is also important to note that
+ we are talking about a class of NLP tasks where you actually know what you are looking for.
</p>
</section>
<section>