11/**
2- * (C) Copyright IBM Corp. 2016, 2021 .
2+ * (C) Copyright IBM Corp. 2022 .
33*
44* Licensed under the Apache License, Version 2.0 (the "License");
55* you may not use this file except in compliance with the License.
@@ -25,18 +25,18 @@ public partial interface ISpeechToTextService
2525 {
2626 DetailedResponse < SpeechModels > ListModels ( ) ;
2727 DetailedResponse < SpeechModel > GetModel ( string modelId ) ;
28- DetailedResponse < SpeechRecognitionResults > Recognize ( System . IO . MemoryStream audio , string contentType = null , string model = null , string languageCustomizationId = null , string acousticCustomizationId = null , string baseModelVersion = null , double ? customizationWeight = null , long ? inactivityTimeout = null , List < string > keywords = null , float ? keywordsThreshold = null , long ? maxAlternatives = null , float ? wordAlternativesThreshold = null , bool ? wordConfidence = null , bool ? timestamps = null , bool ? profanityFilter = null , bool ? smartFormatting = null , bool ? speakerLabels = null , string customizationId = null , string grammarName = null , bool ? redaction = null , bool ? audioMetrics = null , double ? endOfPhraseSilenceTime = null , bool ? splitTranscriptAtPhraseEnd = null , float ? speechDetectorSensitivity = null , float ? backgroundAudioSuppression = null , bool ? lowLatency = null ) ;
28+ DetailedResponse < SpeechRecognitionResults > Recognize ( System . IO . MemoryStream audio , string contentType = null , string model = null , string languageCustomizationId = null , string acousticCustomizationId = null , string baseModelVersion = null , double ? customizationWeight = null , long ? inactivityTimeout = null , List < string > keywords = null , float ? keywordsThreshold = null , long ? maxAlternatives = null , float ? wordAlternativesThreshold = null , bool ? wordConfidence = null , bool ? timestamps = null , bool ? profanityFilter = null , bool ? smartFormatting = null , bool ? speakerLabels = null , string grammarName = null , bool ? redaction = null , bool ? audioMetrics = null , double ? endOfPhraseSilenceTime = null , bool ? splitTranscriptAtPhraseEnd = null , float ? speechDetectorSensitivity = null , float ? backgroundAudioSuppression = null , bool ? lowLatency = null , float ? characterInsertionBias = null ) ;
2929 DetailedResponse < RegisterStatus > RegisterCallback ( string callbackUrl , string userSecret = null ) ;
3030 DetailedResponse < object > UnregisterCallback ( string callbackUrl ) ;
31- DetailedResponse < RecognitionJob > CreateJob ( System . IO . MemoryStream audio , string contentType = null , string model = null , string callbackUrl = null , string events = null , string userToken = null , long ? resultsTtl = null , string languageCustomizationId = null , string acousticCustomizationId = null , string baseModelVersion = null , double ? customizationWeight = null , long ? inactivityTimeout = null , List < string > keywords = null , float ? keywordsThreshold = null , long ? maxAlternatives = null , float ? wordAlternativesThreshold = null , bool ? wordConfidence = null , bool ? timestamps = null , bool ? profanityFilter = null , bool ? smartFormatting = null , bool ? speakerLabels = null , string customizationId = null , string grammarName = null , bool ? redaction = null , bool ? processingMetrics = null , float ? processingMetricsInterval = null , bool ? audioMetrics = null , double ? endOfPhraseSilenceTime = null , bool ? splitTranscriptAtPhraseEnd = null , float ? speechDetectorSensitivity = null , float ? backgroundAudioSuppression = null , bool ? lowLatency = null ) ;
31+ DetailedResponse < RecognitionJob > CreateJob ( System . IO . MemoryStream audio , string contentType = null , string model = null , string callbackUrl = null , string events = null , string userToken = null , long ? resultsTtl = null , string languageCustomizationId = null , string acousticCustomizationId = null , string baseModelVersion = null , double ? customizationWeight = null , long ? inactivityTimeout = null , List < string > keywords = null , float ? keywordsThreshold = null , long ? maxAlternatives = null , float ? wordAlternativesThreshold = null , bool ? wordConfidence = null , bool ? timestamps = null , bool ? profanityFilter = null , bool ? smartFormatting = null , bool ? speakerLabels = null , string grammarName = null , bool ? redaction = null , bool ? processingMetrics = null , float ? processingMetricsInterval = null , bool ? audioMetrics = null , double ? endOfPhraseSilenceTime = null , bool ? splitTranscriptAtPhraseEnd = null , float ? speechDetectorSensitivity = null , float ? backgroundAudioSuppression = null , bool ? lowLatency = null , float ? characterInsertionBias = null ) ;
3232 DetailedResponse < RecognitionJobs > CheckJobs ( ) ;
3333 DetailedResponse < RecognitionJob > CheckJob ( string id ) ;
3434 DetailedResponse < object > DeleteJob ( string id ) ;
3535 DetailedResponse < LanguageModel > CreateLanguageModel ( string name , string baseModelName , string dialect = null , string description = null ) ;
3636 DetailedResponse < LanguageModels > ListLanguageModels ( string language = null ) ;
3737 DetailedResponse < LanguageModel > GetLanguageModel ( string customizationId ) ;
3838 DetailedResponse < object > DeleteLanguageModel ( string customizationId ) ;
39- DetailedResponse < TrainingResponse > TrainLanguageModel ( string customizationId , string wordTypeToAdd = null , double ? customizationWeight = null ) ;
39+ DetailedResponse < TrainingResponse > TrainLanguageModel ( string customizationId , string wordTypeToAdd = null , double ? customizationWeight = null , bool ? strict = null ) ;
4040 DetailedResponse < object > ResetLanguageModel ( string customizationId ) ;
4141 DetailedResponse < object > UpgradeLanguageModel ( string customizationId ) ;
4242 DetailedResponse < Corpora > ListCorpora ( string customizationId ) ;
@@ -56,7 +56,7 @@ public partial interface ISpeechToTextService
5656 DetailedResponse < AcousticModels > ListAcousticModels ( string language = null ) ;
5757 DetailedResponse < AcousticModel > GetAcousticModel ( string customizationId ) ;
5858 DetailedResponse < object > DeleteAcousticModel ( string customizationId ) ;
59- DetailedResponse < TrainingResponse > TrainAcousticModel ( string customizationId , string customLanguageModelId = null ) ;
59+ DetailedResponse < TrainingResponse > TrainAcousticModel ( string customizationId , string customLanguageModelId = null , bool ? strict = null ) ;
6060 DetailedResponse < object > ResetAcousticModel ( string customizationId ) ;
6161 DetailedResponse < object > UpgradeAcousticModel ( string customizationId , string customLanguageModelId = null , bool ? force = null ) ;
6262 DetailedResponse < AudioResources > ListAudio ( string customizationId ) ;
0 commit comments