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 336a7e5 WIP.
336a7e5 is described below
commit 336a7e5728535601f98e5e98019377348d4e1cfc
Author: Aaron Radzinzski <[email protected]>
AuthorDate: Wed Apr 21 12:05:21 2021 +0300
WIP.
---
blogs/composable_named_entities.html | 2 +-
blogs/quick_intro_apache_nlpcraft.html | 10 +++++-----
data-model.html | 2 +-
examples/alarm_clock.html | 4 ++--
examples/light_switch.html | 8 ++++----
examples/weather_bot.html | 2 +-
first-example.html | 10 +++++-----
intent-matching.html | 4 ++--
8 files changed, 21 insertions(+), 21 deletions(-)
diff --git a/blogs/composable_named_entities.html
b/blogs/composable_named_entities.html
index 98b2f8f..0472ce2 100644
--- a/blogs/composable_named_entities.html
+++ b/blogs/composable_named_entities.html
@@ -256,7 +256,7 @@ publish_date: January 20, 2021
"id": "custom:airport:usa",
"description": "Wrapper for USA airports",
"synonyms": [
- "<AIRPORT> {of|for|*} ^^id == 'nlpcraft:city' &&
lowercase(~city:country) == 'usa')^^"
+ "<AIRPORT> {of|for|_} ^^id == 'nlpcraft:city' &&
lowercase(~city:country) == 'usa')^^"
]
}
]
diff --git a/blogs/quick_intro_apache_nlpcraft.html
b/blogs/quick_intro_apache_nlpcraft.html
index 5e12a4b..43eaee0 100644
--- a/blogs/quick_intro_apache_nlpcraft.html
+++ b/blogs/quick_intro_apache_nlpcraft.html
@@ -207,16 +207,16 @@ publish_date: November 16, 2020
- name: "<ACTION>"
macro: "{turn|switch|dial|control|let|set|get|put}"
- name: "<ENTIRE_OPT>"
- macro: "{entire|full|whole|total|*}"
+ macro: "{entire|full|whole|total|_}"
- name: "<LIGHT>"
- macro: "{all|*} {it|them|light|illumination|lamp|lamplight}"
+ macro: "{all|_} {it|them|light|illumination|lamp|lamplight}"
enabledBuiltInTokens: [] # This example doesn't use any built-in
tokens.
elements:
- id: "ls:loc"
description: "Location of lights."
synonyms:
- - "<ENTIRE_OPT> {upstairs|downstairs|*}
{kitchen|library|closet|garage|office|playroom|{dinning|laundry|play} room}"
- - "<ENTIRE_OPT> {upstairs|downstairs|*}
{master|kid|children|child|guest|*} {bedroom|bathroom|washroom|storage}
{closet|*}"
+ - "<ENTIRE_OPT> {upstairs|downstairs|_}
{kitchen|library|closet|garage|office|playroom|{dinning|laundry|play} room}"
+ - "<ENTIRE_OPT> {upstairs|downstairs|_}
{master|kid|children|child|guest|_} {bedroom|bathroom|washroom|storage}
{closet|_}"
- "<ENTIRE_OPT> {house|home|building|{1st|first}
floor|{2nd|second} floor}"
- id: "ls:on"
@@ -224,7 +224,7 @@ publish_date: November 16, 2020
- "act"
description: "Light switch ON action."
synonyms:
- - "<ACTION> {on|up|*} <LIGHT> {on|up|*}"
+ - "<ACTION> {on|up|_} <LIGHT> {on|up|_}"
- "<LIGHT> {on|up}"
- id: "ls:off"
diff --git a/data-model.html b/data-model.html
index 232afc5..8c8d34d 100644
--- a/data-model.html
+++ b/data-model.html
@@ -726,7 +726,7 @@ intents:
</td>
</tr>
<tr>
- <td><code>a .{b, |*}. c</code></td>
+ <td><code>a .{b, |_}. c</code></td>
<td>
<code>"a .b, . c"</code><br>
<code>"a .. c"</code>
diff --git a/examples/alarm_clock.html b/examples/alarm_clock.html
index 9034b0e..5f4f66e 100644
--- a/examples/alarm_clock.html
+++ b/examples/alarm_clock.html
@@ -99,8 +99,8 @@ id: alarm_clock
"id": "x:alarm",
"description": "Alarm token indicator.",
"synonyms": [
- "{ping|buzz|wake|call|hit} {me|up|me up|*}",
- "{set|*} {my|*} {wake|wake up|*}
{alarm|timer|clock|buzzer|call} {up|*}"
+ "{ping|buzz|wake|call|hit} {me|up|me up|_}",
+ "{set|_} {my|_} {wake|wake up|_}
{alarm|timer|clock|buzzer|call} {up|_}"
]
}
],
diff --git a/examples/light_switch.html b/examples/light_switch.html
index f69de57..3c0ef51 100644
--- a/examples/light_switch.html
+++ b/examples/light_switch.html
@@ -94,16 +94,16 @@ macros:
- name: "<ACTION>"
macro: "{turn|switch|dial|control|let|set|get|put}"
- name: "<ENTIRE_OPT>"
- macro: "{entire|full|whole|total|*}"
+ macro: "{entire|full|whole|total|_}"
- name: "<LIGHT>"
- macro: "{all|*} {it|them|light|illumination|lamp|lamplight}"
+ macro: "{all|_} {it|them|light|illumination|lamp|lamplight}"
enabledBuiltInTokens: [] # This example doesn't use any built-in tokens.
elements:
- id: "ls:loc"
description: "Location of lights."
synonyms:
- - "<ENTIRE_OPT> {upstairs|downstairs|*}
{kitchen|library|closet|garage|office|playroom|{dinning|laundry|play} room}"
- - "<ENTIRE_OPT> {upstairs|downstairs|*}
{master|kid|children|child|guest|*} {bedroom|bathroom|washroom|storage}
{closet|*}"
+ - "<ENTIRE_OPT> {upstairs|downstairs|_}
{kitchen|library|closet|garage|office|playroom|{dinning|laundry|play} room}"
+ - "<ENTIRE_OPT> {upstairs|downstairs|_}
{master|kid|children|child|guest|_} {bedroom|bathroom|washroom|storage}
{closet|_}"
- "<ENTIRE_OPT> {house|home|building|{1st|first}
floor|{2nd|second} floor}"
- id: "ls:on"
diff --git a/examples/weather_bot.html b/examples/weather_bot.html
index 35afdb2..ddc916a 100644
--- a/examples/weather_bot.html
+++ b/examples/weather_bot.html
@@ -98,7 +98,7 @@ id: weather_bot
"description": "Weather phenomenon.",
"synonyms": [
"{high sea|severe weather|hail|heat wave|cold
wave|derecho|supercell|avalanche|cyclone|wildfire|landslide|firestorm|dust
storm|thunder snow|winter
storm|cloudburst|shower|condensation|precipitation|drizzle|rainstorm|rain
storm|rainfall|rain|storm|sun|sunshine|cloud|hot|cold|dry|wet|wind||hurricane|typhoon|sand-storm|sand
storm|tornado|humid|fog|snow|smog|black
ice|haze|thundershower|thundersnow|sleet|drought|wildfire|blizzard|avalanche|mist|thunderstorm}",
- "{weather
{condition|temp|temperature|data|*}|condition|temp|temperature}"
+ "{weather
{condition|temp|temperature|data|_}|condition|temp|temperature}"
]
},
{
diff --git a/first-example.html b/first-example.html
index dec96c6..6f8c1cf 100644
--- a/first-example.html
+++ b/first-example.html
@@ -100,16 +100,16 @@ id: first_example
- name: "<KILL>"
macro: "{shut|kill|stop|eliminate}"
- name: "<ENTIRE_OPT>"
- macro: "{entire|full|whole|total|*}"
+ macro: "{entire|full|whole|total|_}"
- name: "<LIGHT>"
- macro: "{all|*} {it|them|light|illumination|lamp|lamplight}"
+ macro: "{all|_} {it|them|light|illumination|lamp|lamplight}"
enabledBuiltInTokens: [] # This example doesn't use any built-in
tokens.
elements:
- id: "ls:loc"
description: "Location of lights."
synonyms:
- - "<ENTIRE_OPT> {upstairs|downstairs|*}
{kitchen|library|closet|garage|office|playroom|{dinning|laundry|play} room}"
- - "<ENTIRE_OPT> {upstairs|downstairs|*}
{master|kid|children|child|guest|*} {bedroom|bathroom|washroom|storage}
{closet|*}"
+ - "<ENTIRE_OPT> {upstairs|downstairs|_}
{kitchen|library|closet|garage|office|playroom|{dinning|laundry|play} room}"
+ - "<ENTIRE_OPT> {upstairs|downstairs|_}
{master|kid|children|child|guest|_} {bedroom|bathroom|washroom|storage}
{closet|_}"
- "<ENTIRE_OPT> {house|home|building|{1st|first}
floor|{2nd|second} floor}"
- id: "ls:on"
@@ -117,7 +117,7 @@ id: first_example
- "act"
description: "Light switch ON action."
synonyms:
- - "<ACTION> {on|up|*} <LIGHT> {on|up|*}"
+ - "<ACTION> {on|up|_} <LIGHT> {on|up|_}"
- "<LIGHT> {on|up}"
- id: "ls:off"
diff --git a/intent-matching.html b/intent-matching.html
index 676a33e..3b3d49b 100644
--- a/intent-matching.html
+++ b/intent-matching.html
@@ -1171,8 +1171,8 @@ id: intent_matching
"id": "x:alarm",
"description": "Alarm token indicator.",
"synonyms": [
- "{ping|buzz|wake|call|hit} {me|up|me up|*}",
- "{set|*} {my|*} {wake|wake up|*}
{alarm|timer|clock|buzzer|call} {up|*}"
+ "{ping|buzz|wake|call|hit} {me|up|me up|_}",
+ "{set|_} {my|_} {wake|wake up|_}
{alarm|timer|clock|buzzer|call} {up|_}"
]
}
],