This is an automated email from the ASF dual-hosted git repository. sergeykamov pushed a commit to branch NLPCRAFT-491 in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft.git
The following commit(s) were added to refs/heads/NLPCRAFT-491 by this push: new a55ad6b6 WIP. a55ad6b6 is described below commit a55ad6b610dc635070d0e3e36192898f20f9a90f Author: Sergey Kamov <skhdlem...@gmail.com> AuthorDate: Tue Apr 5 21:58:48 2022 +0300 WIP. --- .../src/main/java/org/apache/nlpcraft/examples/order/OrderModel.scala | 2 +- nlpcraft-examples/order/src/main/resources/order_model.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/nlpcraft-examples/order/src/main/java/org/apache/nlpcraft/examples/order/OrderModel.scala b/nlpcraft-examples/order/src/main/java/org/apache/nlpcraft/examples/order/OrderModel.scala index ec706567..685884af 100644 --- a/nlpcraft-examples/order/src/main/java/org/apache/nlpcraft/examples/order/OrderModel.scala +++ b/nlpcraft-examples/order/src/main/java/org/apache/nlpcraft/examples/order/OrderModel.scala @@ -194,6 +194,6 @@ class OrderModel extends NCModelAdapter ( def onMenu(im: NCIntentMatch, @NCIntentTerm("menu") m: NCEntity): NCResult = NCResult( "There are margherita, marbonara and marinara. Sizes: large, medium or small. " + - "Also there are tea, gren tea, coffee and cola.", + "Also there are tea, grean tea, coffee and cola.", ASK_RESULT ) \ No newline at end of file diff --git a/nlpcraft-examples/order/src/main/resources/order_model.yaml b/nlpcraft-examples/order/src/main/resources/order_model.yaml index 400b8e5c..40b07c30 100644 --- a/nlpcraft-examples/order/src/main/resources/order_model.yaml +++ b/nlpcraft-examples/order/src/main/resources/order_model.yaml @@ -63,9 +63,9 @@ elements: - id: "ord:finish" description: "Order finish." synonyms: - - "{order|I|_} {is|are|_} {ready|done|finish}" + - "{order|I|_} {is|are|have|has|_} {ready|done|finish}" - id: "ord:menu" description: "Order menu." synonyms: - - "menu" + - "{menu|order list}"