diff --git a/assistant/assistant.json b/assistant/assistant.json
index 416a88b..1010d90 100644
--- a/assistant/assistant.json
+++ b/assistant/assistant.json
@@ -2,26 +2,36 @@
"id" : "proj_9X1nGB88Kx6",
"name" : "XPUB",
"intents" : [ {
- "id" : "jocavdh:question_continue_act",
+ "id" : "jocavdh:toilet",
"type" : "registry",
- "version" : "0.8.0",
+ "version" : "0.3.0",
"language" : "en",
- "slots" : [ {
- "name" : "user_choice",
- "id" : "slot_imported_oeLMta25N",
- "entityId" : "entity_4noq4GNymOe",
- "missingQuestion" : "",
- "required" : false
- } ],
- "name" : "question_continue_act",
- "enabledByDefault" : false
+ "slots" : [ ],
+ "name" : "toilet",
+ "enabledByDefault" : true
+ }, {
+ "id" : "jocavdh:play_intro",
+ "type" : "registry",
+ "version" : "0.10.0",
+ "language" : "en",
+ "slots" : [ ],
+ "name" : "play_intro",
+ "enabledByDefault" : true
+ }, {
+ "id" : "jocavdh:play_verdict",
+ "type" : "registry",
+ "version" : "0.3.0",
+ "language" : "en",
+ "slots" : [ ],
+ "name" : "play_verdict",
+ "enabledByDefault" : true
}, {
- "id" : "jocavdh:play_intro_act",
+ "id" : "jocavdh:play_question",
"type" : "registry",
- "version" : "0.8.0",
+ "version" : "0.4.0",
"language" : "en",
"slots" : [ ],
- "name" : "play_intro_act",
+ "name" : "play_question",
"enabledByDefault" : true
} ],
"createdAt" : "2019-03-29T19:35:28.294Z",
diff --git a/assistant/custom_asr/a.snips b/assistant/custom_asr/a.snips
index 2d38e48..05744fb 100644
Binary files a/assistant/custom_asr/a.snips and b/assistant/custom_asr/a.snips differ
diff --git a/assistant/custom_asr/config.json b/assistant/custom_asr/config.json
index c3a290d..3261180 100644
--- a/assistant/custom_asr/config.json
+++ b/assistant/custom_asr/config.json
@@ -1,19 +1,25 @@
{
- "entityNameToFilename": {
- "choice": "e_0.snips"
- },
+ "entityNameToFilename": {},
"intentNameToDisambigs": {
- "3542d9f8-6645-4f99-b41b-8ad9e71e6460": {
- "start": "`INTENT`3542d9f8-6645-4f99-b41b-8ad9e71e6460`START",
- "end": "`INTENT`3542d9f8-6645-4f99-b41b-8ad9e71e6460`END"
+ "jocavdh:toilet": {
+ "start": "`INTENT`b7f5fc82-8e19-4f44-a261-f26355c57453`START",
+ "end": "`INTENT`b7f5fc82-8e19-4f44-a261-f26355c57453`END"
+ },
+ "jocavdh:play_question": {
+ "start": "`INTENT`b09c20ad-4f30-47a7-9fac-f87ae3f3f54b`START",
+ "end": "`INTENT`b09c20ad-4f30-47a7-9fac-f87ae3f3f54b`END"
+ },
+ "jocavdh:play_verdict": {
+ "start": "`INTENT`0623f114-8e7b-4924-85e9-4a90f56fcdd9`START",
+ "end": "`INTENT`0623f114-8e7b-4924-85e9-4a90f56fcdd9`END"
},
- "jocavdh:play_intro_act": {
- "start": "`INTENT`dd30ebee-ca03-4d21-a5ff-a136188e2576`START",
- "end": "`INTENT`dd30ebee-ca03-4d21-a5ff-a136188e2576`END"
+ "jocavdh:play_intro": {
+ "start": "`INTENT`382418c0-f91c-411a-aca1-004f0e2ba15d`START",
+ "end": "`INTENT`382418c0-f91c-411a-aca1-004f0e2ba15d`END"
},
- "jocavdh:question_continue_act": {
- "start": "`INTENT`a2456c23-94f1-4dca-9fb4-bdb42d2a8cf5`START",
- "end": "`INTENT`a2456c23-94f1-4dca-9fb4-bdb42d2a8cf5`END"
+ "9f146a50-c101-4623-afcf-c253f3ec8692": {
+ "start": "`INTENT`9f146a50-c101-4623-afcf-c253f3ec8692`START",
+ "end": "`INTENT`9f146a50-c101-4623-afcf-c253f3ec8692`END"
}
},
"injectionsEngine": {
@@ -75,56 +81,70 @@
"postprocessors": [
{
"Regex": {
- "pattern": "`INTENT`3542d9f8-6645-4f99-b41b-8ad9e71e6460`START (.*?) `INTENT`3542d9f8-6645-4f99-b41b-8ad9e71e6460`END",
+ "pattern": "`INTENT`b7f5fc82-8e19-4f44-a261-f26355c57453`START (.*?) `INTENT`b7f5fc82-8e19-4f44-a261-f26355c57453`END",
+ "flags": "i",
+ "replacement": "$1"
+ }
+ },
+ {
+ "Regex": {
+ "pattern": "`INTENT`b7f5fc82-8e19-4f44-a261-f26355c57453`START ",
+ "flags": "i",
+ "replacement": ""
+ }
+ },
+ {
+ "Regex": {
+ "pattern": "`INTENT`b09c20ad-4f30-47a7-9fac-f87ae3f3f54b`START (.*?) `INTENT`b09c20ad-4f30-47a7-9fac-f87ae3f3f54b`END",
"flags": "i",
"replacement": "$1"
}
},
{
"Regex": {
- "pattern": "`INTENT`3542d9f8-6645-4f99-b41b-8ad9e71e6460`START ",
+ "pattern": "`INTENT`b09c20ad-4f30-47a7-9fac-f87ae3f3f54b`START ",
"flags": "i",
"replacement": ""
}
},
{
"Regex": {
- "pattern": "`INTENT`dd30ebee-ca03-4d21-a5ff-a136188e2576`START (.*?) `INTENT`dd30ebee-ca03-4d21-a5ff-a136188e2576`END",
+ "pattern": "`INTENT`0623f114-8e7b-4924-85e9-4a90f56fcdd9`START (.*?) `INTENT`0623f114-8e7b-4924-85e9-4a90f56fcdd9`END",
"flags": "i",
"replacement": "$1"
}
},
{
"Regex": {
- "pattern": "`INTENT`dd30ebee-ca03-4d21-a5ff-a136188e2576`START ",
+ "pattern": "`INTENT`0623f114-8e7b-4924-85e9-4a90f56fcdd9`START ",
"flags": "i",
"replacement": ""
}
},
{
"Regex": {
- "pattern": "`INTENT`a2456c23-94f1-4dca-9fb4-bdb42d2a8cf5`START (.*?) `INTENT`a2456c23-94f1-4dca-9fb4-bdb42d2a8cf5`END",
+ "pattern": "`INTENT`382418c0-f91c-411a-aca1-004f0e2ba15d`START (.*?) `INTENT`382418c0-f91c-411a-aca1-004f0e2ba15d`END",
"flags": "i",
"replacement": "$1"
}
},
{
"Regex": {
- "pattern": "`INTENT`a2456c23-94f1-4dca-9fb4-bdb42d2a8cf5`START ",
+ "pattern": "`INTENT`382418c0-f91c-411a-aca1-004f0e2ba15d`START ",
"flags": "i",
"replacement": ""
}
},
{
"Regex": {
- "pattern": "`ENTITY`c183b0a5-c95a-4001-bd05-71518b89254a`START (.*?) `ENTITY`c183b0a5-c95a-4001-bd05-71518b89254a`END",
+ "pattern": "`INTENT`9f146a50-c101-4623-afcf-c253f3ec8692`START (.*?) `INTENT`9f146a50-c101-4623-afcf-c253f3ec8692`END",
"flags": "i",
"replacement": "$1"
}
},
{
"Regex": {
- "pattern": "`ENTITY`c183b0a5-c95a-4001-bd05-71518b89254a`START ",
+ "pattern": "`INTENT`9f146a50-c101-4623-afcf-c253f3ec8692`START ",
"flags": "i",
"replacement": ""
}
@@ -135,24 +155,11 @@
},
"entitiesFstMap": [
[
- 68,
+ 94,
"__root__"
- ],
- [
- 69,
- "e_0.snips"
]
],
- "entityNameToDisambigs": {
- "choice": {
- "start": "`ENTITY`c183b0a5-c95a-4001-bd05-71518b89254a`START",
- "end": "`ENTITY`c183b0a5-c95a-4001-bd05-71518b89254a`END",
- "empty": [
- "",
- 4
- ]
- }
- },
+ "entityNameToDisambigs": {},
"inferenceEngine": {
"version": 2
}
diff --git a/assistant/custom_asr/e_0.snips b/assistant/custom_asr/e_0.snips
deleted file mode 100644
index f8aa7c7..0000000
Binary files a/assistant/custom_asr/e_0.snips and /dev/null differ
diff --git a/assistant/custom_asr/inj.snips b/assistant/custom_asr/inj.snips
index 51cf5e6..d97876e 100644
Binary files a/assistant/custom_asr/inj.snips and b/assistant/custom_asr/inj.snips differ
diff --git a/assistant/custom_asr/inj_v2/c183b0a5-c95a-4001-bd05-71518b89254a.added b/assistant/custom_asr/inj_v2/c183b0a5-c95a-4001-bd05-71518b89254a.added
deleted file mode 100644
index e69de29..0000000
diff --git a/assistant/custom_asr/inj_v2/c183b0a5-c95a-4001-bd05-71518b89254a.vanilla b/assistant/custom_asr/inj_v2/c183b0a5-c95a-4001-bd05-71518b89254a.vanilla
deleted file mode 100644
index 5387be0..0000000
--- a/assistant/custom_asr/inj_v2/c183b0a5-c95a-4001-bd05-71518b89254a.vanilla
+++ /dev/null
@@ -1,25 +0,0 @@
-1 by no means
-1 yea
-1 yeah
-1 affirmative
-1 good
-1 okay
-1 yes
-1 fine
-1 no
-1 all right
-1 stop it
-1 no way
-1 i don't think so
-1 not at all
-1 nay
-1 nope
-1 i think so
-1 sure
-1 go on
-1 amen
-1 never
-1 no not at all
-1 nix
-1 not
-1 true
diff --git a/assistant/custom_asr/inj_v2/config_inj_v2.json b/assistant/custom_asr/inj_v2/config_inj_v2.json
index 47933cb..9e26dfe 100644
--- a/assistant/custom_asr/inj_v2/config_inj_v2.json
+++ b/assistant/custom_asr/inj_v2/config_inj_v2.json
@@ -1,9 +1 @@
-{
- "choice": {
- "vanilla": "c183b0a5-c95a-4001-bd05-71518b89254a.vanilla",
- "ngram": true,
- "added": "c183b0a5-c95a-4001-bd05-71518b89254a.added",
- "pruningThresholds": [],
- "order": 3
- }
-}
\ No newline at end of file
+{}
\ No newline at end of file
diff --git a/assistant/custom_asr/l.snips b/assistant/custom_asr/l.snips
index 88093e7..0b94e12 100644
Binary files a/assistant/custom_asr/l.snips and b/assistant/custom_asr/l.snips differ
diff --git a/assistant/custom_asr/r.snips b/assistant/custom_asr/r.snips
index 59600a7..28acf24 100644
Binary files a/assistant/custom_asr/r.snips and b/assistant/custom_asr/r.snips differ
diff --git a/assistant/custom_asr/u.snips b/assistant/custom_asr/u.snips
index 6ef2df5..c1a09f7 100644
Binary files a/assistant/custom_asr/u.snips and b/assistant/custom_asr/u.snips differ
diff --git a/assistant/custom_asr/w.snips b/assistant/custom_asr/w.snips
index b807ccd..dfbaf39 100644
--- a/assistant/custom_asr/w.snips
+++ b/assistant/custom_asr/w.snips
@@ -2,125 +2,176 @@
's#1 1
a#1 2
act#1 3
-affirmative#1 4
-all#1 5
-am#1 6
-amen#1 7
-at#1 8
-by#1 9
+am#1 4
+another#1 5
+any#1 6
+are#1 7
+around#1 8
+ask#1 9
can#1 10
cancel#1 11
-choose#1 12
+continue#1 12
could#1 13
-do#1 14
-don't#1 15
-fine#1 16
-for#1 17
-give#1 18
-go#1 19
-good#1 20
-i#1 21
-introduce#1 22
-introduction#1 23
-is#1 24
-it#1 25
-let#1 26
-means#1 27
-nay#1 28
-never#1 29
-nix#1 30
-no#1 31
-nope#1 32
-not#1 33
-okay#1 34
-on#1 35
-play#1 36
-please#1 37
-ready#1 38
-right#1 39
-so#1 40
-start#1 41
-stop#1 42
-sure#1 43
-that#1 44
-the#1 45
-think#1 46
-to#1 47
-true#1 48
-want#1 49
-way#1 50
-yea#1 51
-yeah#1 52
-yes#1 53
-you#1 54
-yourself#1 55
-yourselves#1 56
-#0 57
- 58
- 59
-`INTENT`dd30ebee-ca03-4d21-a5ff-a136188e2576`END 60
-`INTENT`a2456c23-94f1-4dca-9fb4-bdb42d2a8cf5`START 61
-`ENTITY`c183b0a5-c95a-4001-bd05-71518b89254a`START 62
-`INTENT`3542d9f8-6645-4f99-b41b-8ad9e71e6460`END 63
-`INTENT`3542d9f8-6645-4f99-b41b-8ad9e71e6460`START 64
-`INTENT`a2456c23-94f1-4dca-9fb4-bdb42d2a8cf5`END 65
-`INTENT`dd30ebee-ca03-4d21-a5ff-a136188e2576`START 66
-`ENTITY`c183b0a5-c95a-4001-bd05-71518b89254a`END 67
-``ROOT 68
-c183b0a5-c95a-4001-bd05-71518b89254a 69
-all 70
-right 71
-give 72
-yea 73
-is 74
-ready 75
-am 76
-it 77
-affirmative 78
-cancel 79
-sure 80
-at 81
-want 82
-go 83
-okay 84
-yes 85
-fine 86
-for 87
-no 88
-introduction 89
-don't 90
-please 91
-start 92
-that 93
-choose 94
-way 95
-means 96
-nay 97
-nope 98
-do 99
-play 100
-good 101
-'s 102
-to 103
-amen 104
-never 105
-stop 106
-introduce 107
-yeah 108
-nix 109
-let 110
-not 111
-yourselves 112
-yourself 113
-true 114
-by 115
-a 116
-on 117
-i 118
-could 119
-so 120
-can 121
-act 122
-you 123
-the 124
-think 125
+decision#1 14
+did#1 15
+do#1 16
+does#1 17
+end#1 18
+first#1 19
+for#1 20
+go#1 21
+going#1 22
+google#1 23
+guys#1 24
+have#1 25
+here#1 26
+home#1 27
+how#1 28
+i#1 29
+interrogation#1 30
+interview#1 31
+introduce#1 32
+introduction#1 33
+is#1 34
+know#1 35
+last#1 36
+let#1 37
+me#1 38
+nearby#1 39
+next#1 40
+of#1 41
+oh#1 42
+on#1 43
+over#1 44
+pee#1 45
+play#1 46
+please#1 47
+question#1 48
+questioning#1 49
+questions#1 50
+ready#1 51
+result#1 52
+round#1 53
+see#1 54
+show#1 55
+side#1 56
+situation#1 57
+so#1 58
+sorry#1 59
+speaker#1 60
+start#1 61
+tell#1 62
+the#1 63
+there#1 64
+this#1 65
+to#1 66
+toilet#1 67
+toilets#1 68
+us#1 69
+verdict#1 70
+want#1 71
+wc#1 72
+what#1 73
+where#1 74
+which#1 75
+will#1 76
+with#1 77
+you#1 78
+your#1 79
+yourself#1 80
+yourselves#1 81
+#0 82
+ 83
+ 84
+`INTENT`b09c20ad-4f30-47a7-9fac-f87ae3f3f54b`START 85
+`INTENT`b7f5fc82-8e19-4f44-a261-f26355c57453`START 86
+`INTENT`9f146a50-c101-4623-afcf-c253f3ec8692`END 87
+`INTENT`b09c20ad-4f30-47a7-9fac-f87ae3f3f54b`END 88
+`INTENT`0623f114-8e7b-4924-85e9-4a90f56fcdd9`START 89
+`INTENT`0623f114-8e7b-4924-85e9-4a90f56fcdd9`END 90
+`INTENT`9f146a50-c101-4623-afcf-c253f3ec8692`START 91
+`INTENT`382418c0-f91c-411a-aca1-004f0e2ba15d`END 92
+`INTENT`b7f5fc82-8e19-4f44-a261-f26355c57453`END 93
+``ROOT 94
+`INTENT`382418c0-f91c-411a-aca1-004f0e2ba15d`START 95
+want 96
+this 97
+ready 98
+google 99
+have 100
+show 101
+question 102
+is 103
+am 104
+yourself 105
+verdict 106
+cancel 107
+see 108
+are 109
+another 110
+go 111
+home 112
+toilet 113
+any 114
+to 115
+result 116
+toilets 117
+what 118
+end 119
+us 120
+for 121
+start 122
+introduction 123
+with 124
+decision 125
+there 126
+please 127
+next 128
+how 129
+going 130
+speaker 131
+tell 132
+which 133
+interview 134
+pee 135
+sorry 136
+over 137
+can 138
+do 139
+play 140
+'s 141
+around 142
+questions 143
+here 144
+questioning 145
+interrogation 146
+me 147
+let 148
+introduce 149
+ask 150
+yourselves 151
+guys 152
+you 153
+a 154
+on 155
+last 156
+oh 157
+did 158
+of 159
+could 160
+your 161
+know 162
+side 163
+will 164
+i 165
+continue 166
+so 167
+does 168
+act 169
+situation 170
+the 171
+nearby 172
+where 173
+round 174
+wc 175
+first 176
diff --git a/assistant/custom_dialogue/sound/end_of_input.wav b/assistant/custom_dialogue/sound/end_of_input.wav
index 314b711..c9c8710 100644
Binary files a/assistant/custom_dialogue/sound/end_of_input.wav and b/assistant/custom_dialogue/sound/end_of_input.wav differ
diff --git a/assistant/custom_dialogue/sound/error.wav b/assistant/custom_dialogue/sound/error.wav
index 78437aa..a853fea 100644
Binary files a/assistant/custom_dialogue/sound/error.wav and b/assistant/custom_dialogue/sound/error.wav differ
diff --git a/assistant/custom_dialogue/sound/start_of_input.wav b/assistant/custom_dialogue/sound/start_of_input.wav
index 979e8a2..cd21a63 100644
Binary files a/assistant/custom_dialogue/sound/start_of_input.wav and b/assistant/custom_dialogue/sound/start_of_input.wav differ
diff --git a/assistant/nlu_engine/custom_entity_parser/parser/metadata.json b/assistant/nlu_engine/custom_entity_parser/parser/metadata.json
index 6b17387..6fc68c9 100644
--- a/assistant/nlu_engine/custom_entity_parser/parser/metadata.json
+++ b/assistant/nlu_engine/custom_entity_parser/parser/metadata.json
@@ -1,8 +1,3 @@
{
- "parsers_metadata": [
- {
- "entity_identifier": "choice",
- "entity_parser": "parser_1"
- }
- ]
+ "parsers_metadata": []
}
\ No newline at end of file
diff --git a/assistant/nlu_engine/custom_entity_parser/parser/parser_1/metadata.json b/assistant/nlu_engine/custom_entity_parser/parser/parser_1/metadata.json
deleted file mode 100644
index be50e97..0000000
--- a/assistant/nlu_engine/custom_entity_parser/parser/parser_1/metadata.json
+++ /dev/null
@@ -1 +0,0 @@
-{"version":"0.6.0","parser_filename":"parser","threshold":0.9,"stop_words":[],"edge_cases":[]}
\ No newline at end of file
diff --git a/assistant/nlu_engine/custom_entity_parser/parser/parser_1/parser b/assistant/nlu_engine/custom_entity_parser/parser/parser_1/parser
deleted file mode 100644
index 3262858..0000000
Binary files a/assistant/nlu_engine/custom_entity_parser/parser/parser_1/parser and /dev/null differ
diff --git a/assistant/nlu_engine/deterministic_intent_parser/intent_parser.json b/assistant/nlu_engine/deterministic_intent_parser/intent_parser.json
index 28cd20a..77da5d8 100644
--- a/assistant/nlu_engine/deterministic_intent_parser/intent_parser.json
+++ b/assistant/nlu_engine/deterministic_intent_parser/intent_parser.json
@@ -5,12 +5,13 @@
"max_queries": 500,
"unit_name": "deterministic_intent_parser"
},
- "group_names_to_slot_names": {
- "group0": "user_choice"
- },
+ "group_names_to_slot_names": {},
"language_code": "en",
"patterns": {
- "jocavdh:play_intro_act": [
+ "jocavdh:play_intro": [
+ "^\\s*introduce\\s*situation\\s*$",
+ "^\\s*do\\s*first\\s*act\\s*$",
+ "^\\s*play\\s*first\\s*act\\s*$",
"^\\s*let\\s*s\\s*go\\s*$",
"^\\s*i\\s*am\\s*ready\\s*for\\s*play\\s*$",
"^\\s*start\\s*introduction\\s*$",
@@ -21,23 +22,70 @@
"^\\s*could\\s*introduce\\s*yourselves\\s*$",
"^\\s*start\\s*play\\s*$",
"^\\s*introduce\\s*$",
- "^\\s*introduce\\s*yourselves\\s*$",
- "^\\s*could\\s*give\\s*start\\s*play\\s*$"
+ "^\\s*introduce\\s*yourselves\\s*$"
+ ],
+ "jocavdh:play_question": [
+ "^\\s*play\\s*interview\\s*$",
+ "^\\s*go\\s*questioning\\s*$",
+ "^\\s*ask\\s*another\\s*question\\s*$",
+ "^\\s*continue\\s*next\\s*act\\s*$",
+ "^\\s*ask\\s*questions\\s*google\\s*home\\s*$",
+ "^\\s*ask\\s*question\\s*google\\s*home\\s*$",
+ "^\\s*start\\s*interrogation\\s*$",
+ "^\\s*start\\s*questions\\s*$",
+ "^\\s*continue\\s*$",
+ "^\\s*could\\s*continue\\s*$",
+ "^\\s*play\\s*next\\s*round\\s*of\\s*interrogation\\s*$",
+ "^\\s*next\\s*round\\s*$",
+ "^\\s*play\\s*next\\s*question\\s*$",
+ "^\\s*play\\s*next\\s*act\\s*$",
+ "^\\s*play\\s*another\\s*act\\s*$",
+ "^\\s*ask\\s*question\\s*$"
+ ],
+ "jocavdh:play_verdict": [
+ "^\\s*what\\s*is\\s*result\\s*$",
+ "^\\s*how\\s*will\\s*end\\s*$",
+ "^\\s*how\\s*does\\s*end\\s*$",
+ "^\\s*go\\s*last\\s*act\\s*$",
+ "^\\s*go\\s*end\\s*$",
+ "^\\s*what\\s*will\\s*do\\s*with\\s*speaker\\s*$",
+ "^\\s*what\\s*is\\s*decision\\s*$",
+ "^\\s*tell\\s*us\\s*decision\\s*$",
+ "^\\s*tell\\s*us\\s*verdict\\s*$",
+ "^\\s*tell\\s*decision\\s*$",
+ "^\\s*tell\\s*verdict\\s*$",
+ "^\\s*do\\s*end\\s*of\\s*play\\s*$",
+ "^\\s*show\\s*last\\s*act\\s*$",
+ "^\\s*what\\s*are\\s*going\\s*do\\s*with\\s*google\\s*home\\s*$",
+ "^\\s*play\\s*last\\s*act\\s*$",
+ "^\\s*what\\s*s\\s*verdict\\s*$",
+ "^\\s*what\\s*is\\s*verdict\\s*$"
],
- "jocavdh:question_continue_act": [
- "^\\s*(?P%CHOICE%)\\s*$",
- "^\\s*(?P%CHOICE%)\\s*(?P%CHOICE%)\\s*$",
- "^\\s*i\\s*go\\s*for\\s*(?P%CHOICE%)\\s*$",
- "^\\s*i\\s*choose\\s*(?P%CHOICE%)\\s*$",
- "^\\s*i\\s*think\\s*it\\s*is\\s*(?P%CHOICE%)\\s*$",
- "^\\s*s\\s*(?P%CHOICE%)\\s*$"
+ "jocavdh:toilet": [
+ "^\\s*on\\s*which\\s*side\\s*is\\s*toilet\\s*$",
+ "^\\s*is\\s*toilet\\s*here\\s*$",
+ "^\\s*i\\s*have\\s*pee\\s*where\\s*is\\s*toilet\\s*$",
+ "^\\s*guys\\s*know\\s*where\\s*toilet\\s*is\\s*$",
+ "^\\s*oh\\s*where\\s*are\\s*toilets\\s*$",
+ "^\\s*did\\s*see\\s*toilets\\s*$",
+ "^\\s*is\\s*there\\s*toilet\\s*nearby\\s*$",
+ "^\\s*are\\s*there\\s*toilets\\s*around\\s*$",
+ "^\\s*is\\s*toilet\\s*over\\s*here\\s*$",
+ "^\\s*sorry\\s*where\\s*are\\s*toilets\\s*$",
+ "^\\s*sorry\\s*where\\s*is\\s*toilet\\s*$",
+ "^\\s*do\\s*know\\s*where\\s*toilet\\s*is\\s*$",
+ "^\\s*did\\s*see\\s*wc\\s*$",
+ "^\\s*where\\s*i\\s*pee\\s*$",
+ "^\\s*do\\s*know\\s*where\\s*toilets\\s*are\\s*$",
+ "^\\s*where\\s*are\\s*toilets\\s*$",
+ "^\\s*where\\s*is\\s*toilet\\s*$"
]
},
"slot_names_to_entities": {
- "jocavdh:play_intro_act": {},
- "jocavdh:question_continue_act": {
- "user_choice": "choice"
- }
+ "jocavdh:play_intro": {},
+ "jocavdh:play_question": {},
+ "jocavdh:play_verdict": {},
+ "jocavdh:toilet": {}
},
"stop_words_whitelist": {}
}
\ No newline at end of file
diff --git a/assistant/nlu_engine/nlu_engine.json b/assistant/nlu_engine/nlu_engine.json
index 4520a32..16c2969 100644
--- a/assistant/nlu_engine/nlu_engine.json
+++ b/assistant/nlu_engine/nlu_engine.json
@@ -153,17 +153,13 @@
},
"custom_entity_parser": "custom_entity_parser",
"dataset_metadata": {
- "entities": {
- "choice": {
- "automatically_extensible": true
- }
- },
+ "entities": {},
"language_code": "en",
"slot_name_mappings": {
- "jocavdh:play_intro_act": {},
- "jocavdh:question_continue_act": {
- "user_choice": "choice"
- }
+ "jocavdh:play_intro": {},
+ "jocavdh:play_question": {},
+ "jocavdh:play_verdict": {},
+ "jocavdh:toilet": {}
}
},
"intent_parsers": [
diff --git a/assistant/nlu_engine/probabilistic_intent_parser/intent_classifier/featurizer/tfidf_vectorizer/vectorizer.json b/assistant/nlu_engine/probabilistic_intent_parser/intent_classifier/featurizer/tfidf_vectorizer/vectorizer.json
index 416f05d..aacf007 100644
--- a/assistant/nlu_engine/probabilistic_intent_parser/intent_classifier/featurizer/tfidf_vectorizer/vectorizer.json
+++ b/assistant/nlu_engine/probabilistic_intent_parser/intent_classifier/featurizer/tfidf_vectorizer/vectorizer.json
@@ -8,92 +8,124 @@
"language_code": "en",
"vectorizer": {
"idf_diag": [
- 4.850147601710058,
- 3.8693183486983322,
- 4.850147601710058,
- 5.255612709818223,
- 4.002849741322855,
- 5.255612709818223,
- 4.850147601710058,
- 4.850147601710058,
- 4.339321977944068,
- 5.255612709818223,
- 2.7707060600302227,
- 5.255612709818223,
- 5.255612709818223,
- 4.562465529258278,
- 3.3097025607629096,
- 4.562465529258278,
- 3.8693183486983322,
- 5.255612709818223,
- 5.255612709818223,
- 4.157000421150114,
- 5.255612709818223,
- 3.751535313041949,
- 4.850147601710058,
- 3.6461747973841225,
- 4.850147601710058,
- 4.850147601710058,
- 5.255612709818223,
- 4.562465529258278,
- 4.339321977944068,
- 3.5508646175797978,
- 5.255612709818223,
- 5.255612709818223,
- 2.3111737306517828,
- 4.157000421150114,
- 5.255612709818223,
- 1.1865859555804121,
- 4.850147601710058,
- 5.255612709818223,
- 4.850147601710058,
- 3.8693183486983322,
- 5.255612709818223,
- 4.850147601710058
+ 3.7135903814778253,
+ 5.099884742597716,
+ 5.099884742597716,
+ 3.633547673804289,
+ 5.505349850705881,
+ 4.406737562037771,
+ 4.11905548958599,
+ 4.589059118831726,
+ 5.099884742597716,
+ 4.812202670145935,
+ 5.099884742597716,
+ 3.7135903814778253,
+ 4.589059118831726,
+ 4.812202670145935,
+ 5.099884742597716,
+ 5.099884742597716,
+ 4.812202670145935,
+ 5.505349850705881,
+ 4.406737562037771,
+ 4.252586882210513,
+ 3.2027647577118348,
+ 4.589059118831726,
+ 4.406737562037771,
+ 5.505349850705881,
+ 4.406737562037771,
+ 5.099884742597716,
+ 4.252586882210513,
+ 3.063002815336676,
+ 5.505349850705881,
+ 5.505349850705881,
+ 4.812202670145935,
+ 3.4259083090260445,
+ 4.406737562037771,
+ 4.252586882210513,
+ 5.505349850705881,
+ 4.812202670145935,
+ 5.099884742597716,
+ 5.099884742597716,
+ 4.812202670145935,
+ 5.099884742597716,
+ 5.505349850705881,
+ 5.099884742597716,
+ 5.505349850705881,
+ 3.89591193827178,
+ 4.589059118831726,
+ 4.406737562037771,
+ 3.7135903814778253,
+ 4.252586882210513,
+ 1.278516105437701,
+ 5.099884742597716,
+ 4.589059118831726,
+ 4.812202670145935,
+ 5.505349850705881,
+ 4.11905548958599,
+ 3.633547673804289,
+ 4.11905548958599,
+ 5.505349850705881,
+ 4.812202670145935
],
"vocab": {
"act": 0,
- "all": 1,
- "am": 2,
- "amen": 3,
- "at": 4,
- "can": 5,
- "choose": 6,
- "could": 7,
- "do": 8,
- "don": 9,
- "entityfeaturechoice": 10,
- "fine": 11,
- "give": 12,
- "good": 13,
- "i": 14,
- "introduce": 15,
- "introduction": 16,
- "let": 17,
- "nay": 18,
- "no": 19,
- "nope": 20,
- "not": 21,
- "okay": 22,
- "play": 23,
- "please": 24,
- "ready": 25,
- "right": 26,
- "s": 27,
- "so": 28,
- "start": 29,
- "sure": 30,
- "t": 31,
- "the": 32,
- "think": 33,
- "true": 34,
- "unknownword": 35,
- "want": 36,
- "yea": 37,
- "yeah": 38,
- "you": 39,
- "yourself": 40,
- "yourselves": 41
+ "am": 1,
+ "another": 2,
+ "are": 3,
+ "around": 4,
+ "ask": 5,
+ "can": 6,
+ "continue": 7,
+ "could": 8,
+ "decision": 9,
+ "did": 10,
+ "do": 11,
+ "end": 12,
+ "first": 13,
+ "here": 14,
+ "how": 15,
+ "interrogation": 16,
+ "interview": 17,
+ "introduce": 18,
+ "introduction": 19,
+ "is": 20,
+ "know": 21,
+ "last": 22,
+ "let": 23,
+ "me": 24,
+ "nearby": 25,
+ "next": 26,
+ "of": 27,
+ "oh": 28,
+ "on": 29,
+ "pee": 30,
+ "play": 31,
+ "please": 32,
+ "question": 33,
+ "questioning": 34,
+ "questions": 35,
+ "ready": 36,
+ "result": 37,
+ "round": 38,
+ "show": 39,
+ "situation": 40,
+ "sorry": 41,
+ "speaker": 42,
+ "start": 43,
+ "tell": 44,
+ "there": 45,
+ "toilet": 46,
+ "toilets": 47,
+ "unknownword": 48,
+ "us": 49,
+ "verdict": 50,
+ "want": 51,
+ "wc": 52,
+ "what": 53,
+ "where": 54,
+ "your": 55,
+ "yourself": 56,
+ "yourselves": 57
}
}
}
\ No newline at end of file
diff --git a/assistant/nlu_engine/probabilistic_intent_parser/intent_classifier/intent_classifier.json b/assistant/nlu_engine/probabilistic_intent_parser/intent_classifier/intent_classifier.json
index cf50a52..336f80e 100644
--- a/assistant/nlu_engine/probabilistic_intent_parser/intent_classifier/intent_classifier.json
+++ b/assistant/nlu_engine/probabilistic_intent_parser/intent_classifier/intent_classifier.json
@@ -1,136 +1,304 @@
{
"coeffs": [
[
- 1.0679293188813703,
- -0.9196571347884867,
- 0.9544176047129843,
- -0.1883524317260096,
- -0.6105713453451179,
- 0.8061359623664787,
- -0.3591742197686734,
- 1.3137799381283455,
- 1.7365629834179477,
- -0.12800879319970468,
- -2.3019305389477704,
- -0.07795891003640916,
- 0.6175996337104217,
- -0.44343753173809464,
- -0.5323616353173571,
- 1.900263596286035,
- 2.294109690699008,
- 1.2116655626243147,
- -0.07394438418685914,
- -0.6078461862927453,
- -0.4207910873719316,
- -0.6775629891321281,
- -0.5078278870239582,
- 3.454126032337382,
- 1.185974162785608,
- 0.9544176047129843,
- -0.14217708941015955,
- 0.5616315900157751,
- -0.415365713553988,
- 2.704209117583624,
- -0.15456773309380664,
- -0.12800879319970468,
- -0.4373616942745067,
- -0.47115219421664684,
- -0.03099793764397092,
- -3.6056334412524422,
- 0.6173828432752645,
- -0.0835256491923387,
- -0.557149390341676,
- 0.8239967375662751,
- 0.7364331080199301,
- 1.3404649194485196
+ -0.0007797355904069851,
+ 1.5766382336480949,
+ -0.497141482131283,
+ -1.5495036416377383,
+ -0.27943029575652806,
+ -0.9233615461367044,
+ -0.8408084354886385,
+ -1.2413476100094967,
+ -0.13263888926793005,
+ -0.5313518840201887,
+ -0.3172823264844087,
+ 1.4968507186464717,
+ -1.3967414734081027,
+ 1.9513718059124612,
+ -0.30412089546994214,
+ -0.5142175516387432,
+ -1.6366186360827335,
+ -0.3111733037655382,
+ 2.733208149782412,
+ 2.8842894661122207,
+ -1.706551739834922,
+ -0.625491047980815,
+ -2.062033532367342,
+ 2.8298977636630687,
+ -1.1049905595364742,
+ -0.31709324033826736,
+ -1.5511516484708494,
+ -2.1080727723478434,
+ -0.2155394508342651,
+ -0.29841233331667916,
+ -0.4193377031745487,
+ 2.423205984042754,
+ -0.10666313305629561,
+ -1.311059931813013,
+ -0.4021156975449871,
+ -1.4642811943128773,
+ 1.5766382336480949,
+ -0.31674186667564214,
+ -0.6536251929718243,
+ -0.4671380556118084,
+ 0.6694217514419782,
+ -0.3616541420863531,
+ -0.6931504257444672,
+ 2.4887072467724125,
+ -0.7930720615707042,
+ -0.7505097594466266,
+ -1.1773462265117496,
+ -0.987008097443061,
+ -2.756830587796821,
+ -0.3565044063565832,
+ -0.5379751507104847,
+ 1.8346504106833834,
+ -0.17518382037519792,
+ -1.3042500426588446,
+ -1.3515341243734995,
+ -0.8335221611351494,
+ 0.8459902918950349,
+ 1.6600762051891558
],
[
- -0.3456400664540357,
- 0.5709762249735805,
- -0.5288007383295439,
- 0.6031704960237482,
- 1.141617863074831,
- -0.039827289093591164,
- 0.967125429791305,
- -0.1811928850836452,
- -0.710230956511594,
- 0.36510666381087076,
- 4.321277248025744,
- 1.397046391021163,
- -0.04709988532338856,
- -0.09324808876754596,
- 1.457344560864199,
- -0.863866792912433,
- -0.8593482061685728,
- -0.8990203920202439,
- 0.4409207314216005,
- 1.712735627735633,
- 0.48976801147688614,
- -0.770213883636854,
- 0.7234744339698773,
- -0.982933981280807,
- -0.2769913127406887,
- -0.5288007383295439,
- 0.09587097610950548,
- 0.9981919076847289,
- 0.5231410723810774,
- -1.0891268684467175,
- 1.0001327498287362,
- 0.36510666381087076,
- -2.2816775748842177,
- 1.2982356316571093,
- 0.35164274349427616,
- -2.9518159221679863,
- -0.3628422051005961,
- 1.265993901454632,
- 1.744609046702212,
- -0.9492144654158853,
- -0.5130828551808182,
- -0.4448380786147142
+ 0.3426792154126584,
+ -0.6780120258714942,
+ 2.5578430360865387,
+ -1.481116179070624,
+ -0.26726107599433846,
+ 3.5366984411216813,
+ 0.37691714941234034,
+ 2.5574458438702106,
+ 0.335141477708361,
+ -0.6144783283119926,
+ -0.35077229991212155,
+ -1.626586092030148,
+ -0.8532249482864231,
+ -0.7789556998338169,
+ -0.36970709931470613,
+ -0.6351175842701308,
+ 3.124696393950865,
+ 2.443560665912624,
+ -1.516516596873329,
+ -1.4245151568609387,
+ -1.7936161460990905,
+ -0.25925945384521376,
+ -1.748648428455675,
+ -0.21416635526202066,
+ -1.2081853287992796,
+ -0.34127965198396354,
+ 2.7608486923841618,
+ -2.1250134473098763,
+ -0.22063505625972027,
+ -0.3393675398403037,
+ -0.7273804014200208,
+ 0.1053767830172536,
+ 0.7017390860499995,
+ 1.307332109394369,
+ 2.134927981447732,
+ 1.806240699695344,
+ -0.6780120258714942,
+ -0.44162495720257755,
+ 1.6355647732404206,
+ -0.5122741271497173,
+ -0.4436910492694323,
+ -0.46340460940197326,
+ -0.3085702195296947,
+ 0.22730985946323862,
+ -0.7742267145066927,
+ -0.7987707828463182,
+ -1.0763281300471246,
+ -1.0079914651466844,
+ -2.6836689808619894,
+ -0.3655240304992724,
+ -0.5714721347415415,
+ -0.44872871028859684,
+ -0.1855034494193387,
+ -0.9849146563206372,
+ -1.3999961843866988,
+ -0.8874452738291952,
+ -0.4575151543370132,
+ -0.8683112230490079
],
[
- -0.6907551324975867,
- -0.35121986848910225,
- -0.4844243807624468,
- -0.23731390876634473,
- -0.6990077804843583,
- -0.42059072128554426,
- -0.5579698221268943,
- -0.8011041573452947,
- -1.190826730366406,
- -0.22664716010167013,
- -2.8975807809798875,
- -0.6151536255666463,
- -0.43759298077985065,
- -0.009238314010617702,
- -1.1617910803033906,
- -1.1673277462626932,
- -1.5482656879757977,
- -0.45682718600408373,
- -0.3376799428823633,
- -0.9455042641457679,
- -0.3159784506611754,
- 0.11387248319913568,
- -0.47340188879688955,
- -2.0703752304042493,
- -0.7199079783606105,
- -0.4844243807624468,
- -0.16539020264930393,
- -1.1415348772320448,
- -0.3044043794975639,
- -1.9960575945664303,
- -0.6353267687570361,
- -0.22664716010167013,
- 0.6963041243567683,
- -0.8398295235010955,
- -0.307361277750767,
- 2.6548101979434717,
- -0.39491339440481804,
- -0.7970689883650842,
- -0.8856322928745054,
- -0.5059825296317677,
- -0.4492080416777923,
- -0.8263804210139328
+ 0.8089447638882967,
+ -0.6194808288257022,
+ -0.3431255034192965,
+ -0.8295927311834701,
+ -0.3081713690715439,
+ -0.9507113443968355,
+ -1.4331084737256197,
+ -1.0999623981074087,
+ -0.6850440833755004,
+ 1.3040011524437694,
+ -0.2843565445784488,
+ -0.03544568144431169,
+ 4.295606438827163,
+ -1.0085308448284225,
+ -0.5115285708146295,
+ 1.6793295624336413,
+ -0.5806702829066769,
+ -0.13215694108417056,
+ -1.4228112359083949,
+ -1.4453778046784753,
+ -0.5256340442551709,
+ -0.4748906780038984,
+ 2.8641860045372627,
+ -0.1664858115412474,
+ 0.25764791818012117,
+ -0.3795623743347691,
+ -1.10742915133428,
+ -1.6511321442113978,
+ -0.2527936252620999,
+ -0.42071357288618333,
+ -0.4034824598499876,
+ -0.08972323308370059,
+ -0.9558277007122781,
+ -1.1545698694113398,
+ -0.3436498069467174,
+ -0.6519700527831315,
+ -0.6194808288257022,
+ 1.4783913241972455,
+ -0.5063812151697789,
+ 1.0436702063970644,
+ -0.5134827393534341,
+ -0.4442682108507764,
+ 0.35687874930290187,
+ -1.4392034961097873,
+ 1.3481066644764526,
+ -0.8129018606593871,
+ -1.410739540036854,
+ -1.1032131535733183,
+ -3.2447904429967753,
+ 1.002061326674216,
+ 2.0520811232686085,
+ -0.637396119314797,
+ -0.16175780200111925,
+ 4.400841996920776,
+ -1.3836585096008949,
+ 2.0601365708968276,
+ -0.45554794110302826,
+ -0.7066989225776978
+ ],
+ [
+ -1.377935970842973,
+ -0.4272204587066494,
+ -0.19666197229525068,
+ -0.2063873060117121,
+ 0.6890628540669719,
+ -0.9382917216548892,
+ -0.10243783524057268,
+ -1.417090927352911,
+ -0.6708441232333928,
+ -0.8316227583697408,
+ 2.6569721427827475,
+ -0.7301363482410286,
+ -0.7660474745917943,
+ -0.4625942558154597,
+ 1.911486499235946,
+ -0.6217749911115316,
+ -0.5501840604263888,
+ -0.1074601204083002,
+ -1.4160785370083646,
+ -0.9529542068160642,
+ 0.9551581418737898,
+ 1.2584761030247462,
+ -0.9092360374970224,
+ -0.29831659206497235,
+ -1.0400259904085354,
+ 1.0431274663439751,
+ -0.8696288193298056,
+ -1.701369750919976,
+ 0.271057495751222,
+ 0.39872879578547993,
+ 1.8028005413005646,
+ -1.5914138439610028,
+ -0.7775499630387079,
+ -1.1523871372502097,
+ -0.2936298577460838,
+ -0.6704112371687151,
+ -0.4272204587066494,
+ -0.6595080671041739,
+ -0.5255838515367182,
+ -0.4614456359920106,
+ -0.4525501999176398,
+ 0.654101939382172,
+ -0.34585979460863464,
+ -1.3537493806930212,
+ -0.7290720353450525,
+ 0.7704520713294785,
+ 4.179402452717181,
+ 2.364443854312483,
+ -2.912382594257434,
+ -0.3808341052767667,
+ -0.5148697920608825,
+ -0.4537831756606072,
+ 1.8905762746352228,
+ -1.402029592405114,
+ 3.7040012055787317,
+ -0.8154027917131668,
+ -0.45918975852526533,
+ -0.7494243204055062
+ ],
+ [
+ -1.7340766799074991,
+ -0.6285792554971432,
+ -0.5282431409258364,
+ 0.39892362469247683,
+ -0.4244568128721243,
+ -2.019171039457993,
+ -1.1440347494209608,
+ -1.1049985123874553,
+ -0.6127101733371682,
+ -0.7488275773156485,
+ -1.3548527754411956,
+ -1.8747683105566084,
+ -1.9015708330927008,
+ -0.3538130999123083,
+ -0.8582902310697803,
+ -0.8737082002263864,
+ -1.082822318944557,
+ -0.7596362537418792,
+ -1.5063423702563337,
+ -1.1666046617425863,
+ -0.782078251055067,
+ -0.5378696981959248,
+ -0.8940560966250333,
+ -1.1855336848955618,
+ -0.1252969021765235,
+ -0.49322037129487467,
+ -1.075250741351908,
+ 2.0041844463842478,
+ -0.24172848843547748,
+ -0.29596340360558715,
+ -0.7794344819733658,
+ -2.5496900366006674,
+ -1.0422525605523205,
+ -0.8219645453411998,
+ -1.1258697480545163,
+ -0.7167240434121684,
+ -0.6285792554971432,
+ -0.694396493190766,
+ -0.9655270435349677,
+ -0.4018040790313342,
+ -0.4113653390245776,
+ -0.42244969562635676,
+ -0.17273004999295083,
+ -2.1249101644526482,
+ -0.911600017050204,
+ -0.24854474549211705,
+ -2.193849572439343,
+ -1.4847874542855146,
+ 1.9353705938961963,
+ -0.5961060851266766,
+ -1.1637292263731027,
+ -0.6334800706210095,
+ -0.7264428506693048,
+ -1.9134795137494762,
+ -1.9042662801903303,
+ -1.1451835675002182,
+ -0.3888382154117406,
+ -0.9454868451422792
]
],
"config": {
@@ -164,14 +332,18 @@
},
"featurizer": "featurizer",
"intent_list": [
- "jocavdh:play_intro_act",
- "jocavdh:question_continue_act",
+ "jocavdh:play_intro",
+ "jocavdh:play_question",
+ "jocavdh:play_verdict",
+ "jocavdh:toilet",
null
],
"intercept": [
- -0.08512030945929673,
- -0.19228512400729567,
- -0.17972016487441556
+ -0.44703436123857954,
+ -0.38608879685916286,
+ -0.4177048868343635,
+ -0.4360101391265645,
+ -0.5664211091076116
],
- "t_": 701.0
+ "t_": 901.0
}
\ No newline at end of file
diff --git a/assistant/nlu_engine/probabilistic_intent_parser/intent_parser.json b/assistant/nlu_engine/probabilistic_intent_parser/intent_parser.json
index 1d54a4c..7f47ffb 100644
--- a/assistant/nlu_engine/probabilistic_intent_parser/intent_parser.json
+++ b/assistant/nlu_engine/probabilistic_intent_parser/intent_parser.json
@@ -141,12 +141,20 @@
},
"slot_fillers": [
{
- "intent": "jocavdh:play_intro_act",
+ "intent": "jocavdh:play_intro",
"slot_filler_name": "slot_filler_0"
},
{
- "intent": "jocavdh:question_continue_act",
+ "intent": "jocavdh:play_question",
"slot_filler_name": "slot_filler_1"
+ },
+ {
+ "intent": "jocavdh:play_verdict",
+ "slot_filler_name": "slot_filler_2"
+ },
+ {
+ "intent": "jocavdh:toilet",
+ "slot_filler_name": "slot_filler_3"
}
]
}
\ No newline at end of file
diff --git a/assistant/nlu_engine/probabilistic_intent_parser/slot_filler_0/slot_filler.json b/assistant/nlu_engine/probabilistic_intent_parser/slot_filler_0/slot_filler.json
index 7fc0baf..a3324b4 100644
--- a/assistant/nlu_engine/probabilistic_intent_parser/slot_filler_0/slot_filler.json
+++ b/assistant/nlu_engine/probabilistic_intent_parser/slot_filler_0/slot_filler.json
@@ -108,7 +108,7 @@
"unit_name": "crf_slot_filler"
},
"crf_model_file": null,
- "intent": "jocavdh:play_intro_act",
+ "intent": "jocavdh:play_intro",
"language_code": "en",
"slot_name_mapping": {}
}
\ No newline at end of file
diff --git a/assistant/nlu_engine/probabilistic_intent_parser/slot_filler_1/modelb3iq7l.crfsuite b/assistant/nlu_engine/probabilistic_intent_parser/slot_filler_1/modelb3iq7l.crfsuite
deleted file mode 100644
index a70b814..0000000
Binary files a/assistant/nlu_engine/probabilistic_intent_parser/slot_filler_1/modelb3iq7l.crfsuite and /dev/null differ
diff --git a/assistant/nlu_engine/probabilistic_intent_parser/slot_filler_1/slot_filler.json b/assistant/nlu_engine/probabilistic_intent_parser/slot_filler_1/slot_filler.json
index 8252fdd..d377ee8 100644
--- a/assistant/nlu_engine/probabilistic_intent_parser/slot_filler_1/slot_filler.json
+++ b/assistant/nlu_engine/probabilistic_intent_parser/slot_filler_1/slot_filler.json
@@ -14,7 +14,6 @@
{
"args": {
"common_words_gazetteer_name": "top_10000_words_stemmed",
- "language_code": "en",
"n": 1,
"use_stemming": true
},
@@ -30,7 +29,6 @@
{
"args": {
"common_words_gazetteer_name": "top_10000_words_stemmed",
- "language_code": "en",
"n": 2,
"use_stemming": true
},
@@ -69,9 +67,6 @@
},
{
"args": {
- "entities": [
- "choice"
- ],
"tagging_scheme_code": 2,
"use_stemming": true
},
@@ -85,16 +80,6 @@
},
{
"args": {
- "entity_labels": [
- "snips/amountOfMoney",
- "snips/datetime",
- "snips/duration",
- "snips/number",
- "snips/ordinal",
- "snips/percentage",
- "snips/temperature"
- ],
- "language_code": "en",
"tagging_scheme_code": 1
},
"factory_name": "builtin_entity_match",
@@ -122,10 +107,8 @@
"tagging_scheme": 1,
"unit_name": "crf_slot_filler"
},
- "crf_model_file": "modelb3iq7l.crfsuite",
- "intent": "jocavdh:question_continue_act",
+ "crf_model_file": null,
+ "intent": "jocavdh:play_question",
"language_code": "en",
- "slot_name_mapping": {
- "user_choice": "choice"
- }
+ "slot_name_mapping": {}
}
\ No newline at end of file
diff --git a/assistant/nlu_engine/probabilistic_intent_parser/slot_filler_2/metadata.json b/assistant/nlu_engine/probabilistic_intent_parser/slot_filler_2/metadata.json
new file mode 100644
index 0000000..18ccb30
--- /dev/null
+++ b/assistant/nlu_engine/probabilistic_intent_parser/slot_filler_2/metadata.json
@@ -0,0 +1,3 @@
+{
+ "unit_name": "crf_slot_filler"
+}
\ No newline at end of file
diff --git a/assistant/nlu_engine/probabilistic_intent_parser/slot_filler_2/slot_filler.json b/assistant/nlu_engine/probabilistic_intent_parser/slot_filler_2/slot_filler.json
new file mode 100644
index 0000000..5fdb1ef
--- /dev/null
+++ b/assistant/nlu_engine/probabilistic_intent_parser/slot_filler_2/slot_filler.json
@@ -0,0 +1,114 @@
+{
+ "config": {
+ "crf_args": {
+ "algorithm": "lbfgs",
+ "c1": 0.1,
+ "c2": 0.1
+ },
+ "data_augmentation_config": {
+ "add_builtin_entities_examples": false,
+ "capitalization_ratio": 0,
+ "min_utterances": 200
+ },
+ "feature_factory_configs": [
+ {
+ "args": {
+ "common_words_gazetteer_name": "top_10000_words_stemmed",
+ "n": 1,
+ "use_stemming": true
+ },
+ "factory_name": "ngram",
+ "offsets": [
+ -2,
+ -1,
+ 0,
+ 1,
+ 2
+ ]
+ },
+ {
+ "args": {
+ "common_words_gazetteer_name": "top_10000_words_stemmed",
+ "n": 2,
+ "use_stemming": true
+ },
+ "factory_name": "ngram",
+ "offsets": [
+ -2,
+ 1
+ ]
+ },
+ {
+ "args": {},
+ "factory_name": "is_digit",
+ "offsets": [
+ -1,
+ 0,
+ 1
+ ]
+ },
+ {
+ "args": {},
+ "factory_name": "is_first",
+ "offsets": [
+ -2,
+ -1,
+ 0
+ ]
+ },
+ {
+ "args": {},
+ "factory_name": "is_last",
+ "offsets": [
+ 0,
+ 1,
+ 2
+ ]
+ },
+ {
+ "args": {
+ "tagging_scheme_code": 2,
+ "use_stemming": true
+ },
+ "drop_out": 0.1,
+ "factory_name": "entity_match",
+ "offsets": [
+ -2,
+ -1,
+ 0
+ ]
+ },
+ {
+ "args": {
+ "tagging_scheme_code": 1
+ },
+ "factory_name": "builtin_entity_match",
+ "offsets": [
+ -2,
+ -1,
+ 0
+ ]
+ },
+ {
+ "args": {
+ "cluster_name": "brown_clusters",
+ "use_stemming": false
+ },
+ "factory_name": "word_cluster",
+ "offsets": [
+ -2,
+ -1,
+ 0,
+ 1
+ ]
+ }
+ ],
+ "random_seed": null,
+ "tagging_scheme": 1,
+ "unit_name": "crf_slot_filler"
+ },
+ "crf_model_file": null,
+ "intent": "jocavdh:play_verdict",
+ "language_code": "en",
+ "slot_name_mapping": {}
+}
\ No newline at end of file
diff --git a/assistant/nlu_engine/probabilistic_intent_parser/slot_filler_3/metadata.json b/assistant/nlu_engine/probabilistic_intent_parser/slot_filler_3/metadata.json
new file mode 100644
index 0000000..18ccb30
--- /dev/null
+++ b/assistant/nlu_engine/probabilistic_intent_parser/slot_filler_3/metadata.json
@@ -0,0 +1,3 @@
+{
+ "unit_name": "crf_slot_filler"
+}
\ No newline at end of file
diff --git a/assistant/nlu_engine/probabilistic_intent_parser/slot_filler_3/slot_filler.json b/assistant/nlu_engine/probabilistic_intent_parser/slot_filler_3/slot_filler.json
new file mode 100644
index 0000000..9a57ce0
--- /dev/null
+++ b/assistant/nlu_engine/probabilistic_intent_parser/slot_filler_3/slot_filler.json
@@ -0,0 +1,114 @@
+{
+ "config": {
+ "crf_args": {
+ "algorithm": "lbfgs",
+ "c1": 0.1,
+ "c2": 0.1
+ },
+ "data_augmentation_config": {
+ "add_builtin_entities_examples": false,
+ "capitalization_ratio": 0,
+ "min_utterances": 200
+ },
+ "feature_factory_configs": [
+ {
+ "args": {
+ "common_words_gazetteer_name": "top_10000_words_stemmed",
+ "n": 1,
+ "use_stemming": true
+ },
+ "factory_name": "ngram",
+ "offsets": [
+ -2,
+ -1,
+ 0,
+ 1,
+ 2
+ ]
+ },
+ {
+ "args": {
+ "common_words_gazetteer_name": "top_10000_words_stemmed",
+ "n": 2,
+ "use_stemming": true
+ },
+ "factory_name": "ngram",
+ "offsets": [
+ -2,
+ 1
+ ]
+ },
+ {
+ "args": {},
+ "factory_name": "is_digit",
+ "offsets": [
+ -1,
+ 0,
+ 1
+ ]
+ },
+ {
+ "args": {},
+ "factory_name": "is_first",
+ "offsets": [
+ -2,
+ -1,
+ 0
+ ]
+ },
+ {
+ "args": {},
+ "factory_name": "is_last",
+ "offsets": [
+ 0,
+ 1,
+ 2
+ ]
+ },
+ {
+ "args": {
+ "tagging_scheme_code": 2,
+ "use_stemming": true
+ },
+ "drop_out": 0.1,
+ "factory_name": "entity_match",
+ "offsets": [
+ -2,
+ -1,
+ 0
+ ]
+ },
+ {
+ "args": {
+ "tagging_scheme_code": 1
+ },
+ "factory_name": "builtin_entity_match",
+ "offsets": [
+ -2,
+ -1,
+ 0
+ ]
+ },
+ {
+ "args": {
+ "cluster_name": "brown_clusters",
+ "use_stemming": false
+ },
+ "factory_name": "word_cluster",
+ "offsets": [
+ -2,
+ -1,
+ 0,
+ 1
+ ]
+ }
+ ],
+ "random_seed": null,
+ "tagging_scheme": 1,
+ "unit_name": "crf_slot_filler"
+ },
+ "crf_model_file": null,
+ "intent": "jocavdh:toilet",
+ "language_code": "en",
+ "slot_name_mapping": {}
+}
\ No newline at end of file