mirror of
https://github.com/jambonz/verb-specifications.git
synced 2026-10-04 02:04:29 +00:00
support azure language identification mode (#44)
This commit is contained in:
+8
-1
@@ -668,7 +668,14 @@
|
|||||||
},
|
},
|
||||||
"azureOptions": {
|
"azureOptions": {
|
||||||
"properties": {
|
"properties": {
|
||||||
"speechSegmentationSilenceTimeoutMs": "number"
|
"speechSegmentationSilenceTimeoutMs": "number",
|
||||||
|
"languageIdMode": {
|
||||||
|
"type": "string",
|
||||||
|
"enum": [
|
||||||
|
"AtStart",
|
||||||
|
"Continuous"
|
||||||
|
]
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -81,6 +81,17 @@ test("validate correct verbs", async (t) => {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"verb": "config",
|
||||||
|
"recognizer": {
|
||||||
|
"vendor": "google",
|
||||||
|
"language": "de-DE",
|
||||||
|
"label": "label1",
|
||||||
|
"azureOptions": {
|
||||||
|
"languageIdMode": "Continuous"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"verb": "config",
|
"verb": "config",
|
||||||
"record": {
|
"record": {
|
||||||
|
|||||||
Reference in New Issue
Block a user