最終更新:2022-04-05 (火) 05:10:25 (771d)
azure.cognitiveservices.speech.SpeechConfig
Top / azure.cognitiveservices.speech.SpeechConfig
SpeechConfig(subscription: typing.Union[str, NoneType] = None, region: typing.Union[str, NoneType] = None, endpoint: typing.Union[str, NoneType] = None, host: typing.Union[str, NoneType] = None, auth_token: typing.Union[str, NoneType] = None, speech_recognition_language: typing.Union[str, NoneType] = None)
初期化
- from subscription: pass a subscription key and a region
- from endpoint: pass an endpoint. Subscription key or authorization token are optional.
- from host: pass a host address. Subscription key or authorization token are optional.
- from authorization token: pass an authorization token and a region
parameters
subscription The subscription key. region endpoint host auth_token speech_recognition_language