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/03/19 01:58:20 UTC
[incubator-nlpcraft] 25/27: 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
commit 67808d6e8c970df850c7088af2d23cd9e66fcf3e
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