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AEtC;;OAEG;IACH,WAAW,CAAC,EAAE,WAAW,CAAC;IAE1B;;OAEG;IACH,SAAS,CAAC,EAAE,SAAS,CAAC;IAEtB;;OAEG;IACH,SAAS,CAAC,EAAE,SAAS,CAAC;IAEtB;;OAEG;IACH,YAAY,CAAC,EAAE,0BAA0B,EAAE,CAAC;IAE5C;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACrB;AAED;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACvC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;CACpB","file":"PhraseDetectionContext.d.ts","sourcesContent":["//\n// Copyright (c) Microsoft. All rights reserved.\n// Licensed under the MIT license. See LICENSE.md file in the project root for full license information.\n//\n\nimport { Dictation } from \"./Dictation\";\nimport { Enrichment } from \"./Enrichment\";\nimport { Interactive } from \"./Interactive\";\nimport { Conversation } from \"./Conversation\";\nimport { SpeakerDiarization } from \"./SpeakerDiarization\";\nimport { SentimentAnalysis } from \"./SentimentAnalysis\";\nimport { GeoLocation } from \"./GeoLocation\";\nimport { OnSuccess } from \"./OnSuccess\";\nimport { OnInterim } from \"./OnInterim\";\n\n/**\n * The Recognition modes\n */\nexport enum RecognitionMode {\n    Interactive = \"Interactive\",\n    Dictation = \"Dictation\",\n    Conversation = \"Conversation\",\n    None = \"None\"\n}\n\n/**\n * Defines the phrase detection payload in the speech Context message\n */\nexport interface PhraseDetectionContext {\n    /**\n     * The initial silence timeout.\n     */\n    initialSilenceTimeout?: number;\n\n    /**\n     * The trailing silence timeout.\n     */\n    trailingSilenceTimeout?: number;\n\n    /**\n     * The recognition mode.\n     */\n    mode?: RecognitionMode;\n\n    /**\n     * The enrichment option.\n     */\n    enrichment?: Enrichment;\n\n    /**\n     * The Interactive options.\n     */\n    interactive?: Interactive;\n\n    /**\n     * The Dictation options.\n     */\n    dictation?: Dictation;\n\n    /**\n     * The Conversation options.\n     */\n    conversation?: Conversation;\n\n    /**\n     * The grammar scenario that allows clients to use sophisticated acoustic and language models\n     */\n    grammarScenario?: string;\n\n    /**\n     * A flag that indicates whether to enable interim results or not. If true, interim results are returned to the client application.\n     */\n    interimResults?: boolean;\n\n    /**\n     * The configuration of speaker diarization.\n     */\n    speakerDiarization?: SpeakerDiarization;\n\n    /**\n     * The configuration of sentiment analysis.\n     */\n    sentimentAnalysis?: SentimentAnalysis;\n\n    /**\n     * The geo location.\n     */\n    geoLocation?: GeoLocation;\n\n    /**\n     * The on success.\n     */\n    onSuccess?: OnSuccess;\n\n    /**\n     * The on interim.\n     */\n    onInterim?: OnInterim;\n\n    /**\n     * The mapping from language to custom model id, if required.\n     */\n    customModels?: CustomLanguageMappingEntry[];\n\n    /**\n     * The detection language.\n     */\n    language?: string;\n}\n\n/**\n * Defines a mapping entry from a language to a custom endpoint.\n */\nexport interface CustomLanguageMappingEntry {\n    /**\n     * The language for there is a custom endpoint.\n     */\n    language: string;\n\n    /**\n     * The custom endpoint id.\n     */\n    endpoint: string;\n}\n"]}