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.git
The following commit(s) were added to refs/heads/master by this push:
new 4b4bfba Update minecraft.yaml
4b4bfba is described below
commit 4b4bfba050a0c85b5dd572d5bf80498adf1981c6
Author: Aaron Radzinzski <[email protected]>
AuthorDate: Tue Apr 27 22:45:41 2021 +0300
Update minecraft.yaml
---
nlpcraft-examples/minecraft/src/main/resources/minecraft.yaml | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/nlpcraft-examples/minecraft/src/main/resources/minecraft.yaml
b/nlpcraft-examples/minecraft/src/main/resources/minecraft.yaml
index 50a6fe5..115c2e7 100644
--- a/nlpcraft-examples/minecraft/src/main/resources/minecraft.yaml
+++ b/nlpcraft-examples/minecraft/src/main/resources/minecraft.yaml
@@ -65,6 +65,9 @@ elements:
- "{thunder|thunderstorm|storm|hurricane}"
# Time intent
+ - id: time:action
+ synonyms:
+ - "{set|make} {it|_}"
- id: morning
groups:
- time
@@ -148,6 +151,7 @@ intents:
term={tok_id() == 'weather:action'}?
term(arg)={has(tok_groups(), 'weather')}"
- "intent=timeIntent
+ term={tok_id() == 'time:action'}?
term(arg)={has(tok_groups(), 'time')}"
- "intent=giveIntent
term(action)={tok_id() == 'give:action'}