You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nlpcraft.apache.org by if...@apache.org on 2021/02/27 05:05:58 UTC
[incubator-nlpcraft] branch NLPCRAFT-91 updated: NLPCRAFT-91: Fixes
for new syntax
This is an automated email from the ASF dual-hosted git repository.
ifropc pushed a commit to branch NLPCRAFT-91
in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft.git
The following commit(s) were added to refs/heads/NLPCRAFT-91 by this push:
new e4804d8 NLPCRAFT-91: Fixes for new syntax
e4804d8 is described below
commit e4804d8ced2254b7d3e191b13a2167fe2b1dcbb2
Author: Ifropc <if...@apache.org>
AuthorDate: Fri Feb 26 21:05:44 2021 -0800
NLPCRAFT-91: Fixes for new syntax
---
nlpcraft-examples/minecraft-model/src/main/resources/minecraft.yaml | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/nlpcraft-examples/minecraft-model/src/main/resources/minecraft.yaml b/nlpcraft-examples/minecraft-model/src/main/resources/minecraft.yaml
index 99cee41..9ad7c6a 100644
--- a/nlpcraft-examples/minecraft-model/src/main/resources/minecraft.yaml
+++ b/nlpcraft-examples/minecraft-model/src/main/resources/minecraft.yaml
@@ -123,19 +123,19 @@ elements:
- "wall"
- id: fill:length
synonyms:
- - "{{size|length|diameter} {of|*} ^^[length](id == 'nlpcraft:num')^^}"
+ - "{{size|length|diameter} {of|_} ^^[length](id == 'nlpcraft:num')^^}"
- id: position:player
groups:
- fill:position
synonyms:
- - "{{at|near} ^^[player](id == 'mc:player')^^ {position|*}|where ^^[player](id == 'mc:player')^^}"
+ - "{{at|near} ^^[player](id == 'mc:player')^^ {position|_}|where ^^[player](id == 'mc:player')^^}"
"permutateSynonyms": false
- id: position:front
groups:
- fill:position
synonyms:
- - "{{^^[distance](id == 'nlpcraft:num')^^|*} {in|*} front {of|*} ^^[player](id == 'mc:player')^^}"
+ - "{{^^[distance](id == 'nlpcraft:num')^^|_} {in|_} front {of|_} ^^[player](id == 'mc:player')^^}"
"permutateSynonyms": false