This is an automated email from the ASF dual-hosted git repository.
aradzinski pushed a commit to branch NLPCRAFT-384
in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft.git
The following commit(s) were added to refs/heads/NLPCRAFT-384 by this push:
new 8bf6de2 WIP.
8bf6de2 is described below
commit 8bf6de26e3a6b9ac80e724cfa6151e8f3196649b
Author: Aaron Radzinski <[email protected]>
AuthorDate: Tue Aug 24 01:40:07 2021 -0700
WIP.
---
nlpcraft-examples/cargps/src/main/resources/cargps_model.yaml | 5 +++++
.../cargps/src/main/resources/samples/cargps_navigate_samples.txt | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/nlpcraft-examples/cargps/src/main/resources/cargps_model.yaml
b/nlpcraft-examples/cargps/src/main/resources/cargps_model.yaml
index 4ba30c2..8f8bde7 100644
--- a/nlpcraft-examples/cargps/src/main/resources/cargps_model.yaml
+++ b/nlpcraft-examples/cargps/src/main/resources/cargps_model.yaml
@@ -35,6 +35,11 @@ macros:
- name: "<WAYPOINT>"
macro: "{waypoint|location|point|stopover|stop over|way
station|stop|checkpoint|stop point} {point|station|_}"
+abstractTokens:
+ - x:addr:kind
+ - x:addr:num
+ - x:addr:st
+
elements:
- id: "x:addr:kind"
# Short list from https://pe.usps.com/text/pub28/28apc_002.htm
diff --git
a/nlpcraft-examples/cargps/src/main/resources/samples/cargps_navigate_samples.txt
b/nlpcraft-examples/cargps/src/main/resources/samples/cargps_navigate_samples.txt
index 03472b0..029340e 100644
---
a/nlpcraft-examples/cargps/src/main/resources/samples/cargps_navigate_samples.txt
+++
b/nlpcraft-examples/cargps/src/main/resources/samples/cargps_navigate_samples.txt
@@ -18,4 +18,4 @@
#
# Set of samples (corpus) for automatic unit and regression testing.
#
-hey car, drive to 21 table rock drive
+hey car, navigate to 21 table rock drive