mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2026-02-14 18:30:59 +00:00
bugfix: recognizer.punctuation not working on nuance
This commit is contained in:
@@ -337,7 +337,7 @@ module.exports = (logger) => {
|
|||||||
{NUANCE_TOPIC: nuanceOptions.topic},
|
{NUANCE_TOPIC: nuanceOptions.topic},
|
||||||
...(nuanceOptions.utteranceDetectionMode) &&
|
...(nuanceOptions.utteranceDetectionMode) &&
|
||||||
{NUANCE_UTTERANCE_DETECTION_MODE: nuanceOptions.utteranceDetectionMode},
|
{NUANCE_UTTERANCE_DETECTION_MODE: nuanceOptions.utteranceDetectionMode},
|
||||||
...(nuanceOptions.punctuation) && {NUANCE_PUNCTUATION: nuanceOptions.punctuation},
|
...(nuanceOptions.punctuation || rOpts.punctuation) && {NUANCE_PUNCTUATION: nuanceOptions.punctuation},
|
||||||
...(nuanceOptions.profanityFilter) &&
|
...(nuanceOptions.profanityFilter) &&
|
||||||
{NUANCE_FILTER_PROFANITY: nuanceOptions.profanityFilter},
|
{NUANCE_FILTER_PROFANITY: nuanceOptions.profanityFilter},
|
||||||
...(nuanceOptions.includeTokenization) &&
|
...(nuanceOptions.includeTokenization) &&
|
||||||
|
|||||||
Reference in New Issue
Block a user