diff options
author | Botond Hende <nettingman@gmail.com> | 2024-10-16 15:15:24 +0200 |
---|---|---|
committer | Botond Hende <nettingman@gmail.com> | 2024-10-16 15:15:24 +0200 |
commit | 39daa2ab2e885c5de66b00d970eddd5975195d7f (patch) | |
tree | 7cf9428fbaf9ad4648da737bcf5a9aeb918f32c1 | |
parent | 1b17cb960ee6ba42b0c48035ef157c3bde22869e (diff) |
basic process execution config
-rw-r--r-- | sentences/_common.yaml | 54 | ||||
-rw-r--r-- | sentences/process_HesExecuteProcess.yaml | 9 |
2 files changed, 58 insertions, 5 deletions
diff --git a/sentences/_common.yaml b/sentences/_common.yaml index 12b3e27..7c22012 100644 --- a/sentences/_common.yaml +++ b/sentences/_common.yaml @@ -1,4 +1,58 @@ language: "en" + +lists: + workspace: + range: + type: "number" + from: 1 + to: 10 + workspace_word: + values: + - in: "first" + out: 1 + - in: "1st" + out: 1 + - in: "second" + out: 2 + - in: "2nd" + out: 1 + - in: "third" + out: 3 + - in: "3rd" + out: 3 + - in: "fourth" + out: 4 + - in: "4th" + out: 4 + - in: "fifth" + out: 5 + - in: "5th" + out: 5 + - in: "sixth" + out: 6 + - in: "6th" + out: 6 + - in: "seventh" + out: 7 + - in: "7th" + out: 7 + - in: "eight" + out: 8 + - in: "8th" + out: 8 + - in: "ninth" + out: 9 + - in: "9th" + out: 9 + - in: "tenth" + out: 10 + - in: "10th" + out: 10 + +expansion_rules: + workspace: "(workspace {workspace}|{workspace_word:workspace} workspace)" + in_workspace: "(in|on|at) [the ]<workspace>" + skip_words: - "please" - "can you" diff --git a/sentences/process_HesExecuteProcess.yaml b/sentences/process_HesExecuteProcess.yaml index 864b9c0..8d5669e 100644 --- a/sentences/process_HesExecuteProcess.yaml +++ b/sentences/process_HesExecuteProcess.yaml @@ -3,15 +3,14 @@ intents: HesExecuteProcess: data: - sentences: - - "<execute> <process>[ <in_workspace>]" + - "<execute> <process> [<in_workspace>]" + slots: + domain: "process" lists: process: wildcard: true - workspace: - wildcard: true expansion_rules: process: "[the ]{process}" - execute: "(execute|open|run|start)" - in_workspace: "(in|on|at) [the ]{workspace}"
\ No newline at end of file + execute: "(execute|open|run|start)"
\ No newline at end of file |