Module: TxAsr
- Defined in:
- lib/tx_asr.rb,
lib/tx_asr/sign.rb,
lib/tx_asr/railtie.rb,
lib/tx_asr/request.rb,
lib/tx_asr/version.rb,
lib/tx_asr/service_result.rb,
lib/tx_asr/sentence_recognition.rb
Defined Under Namespace
Classes: InstallGenerator, Railtie, Request, SentenceRecognition, ServiceResult, Sign
Constant Summary collapse
- SINGLE_CHANNEL =
声道
1
- DOUBLE_CHANNEL =
2
- SOURCE_TYPE_URL =
语音来源
0
- SOURCE_TYPE_BODY =
1
- ENDPOINT =
"https://asr.tencentcloudapi.com"
- API_HOST =
"asr.tencentcloudapi.com"
- API_VERSION =
api 版本
"2019-06-14"
- VOICE_FORMAT_MP3 =
音频格式
"mp3"
- VOICE_FORMAT_WAV =
"wav"
- PROJECT_ID_DEFAULT =
0
- VERSION =
'0.1.0'
Class Method Summary collapse
Class Method Details
.setup {|_self| ... } ⇒ Object
42 43 44 |
# File 'lib/tx_asr.rb', line 42 def self.setup yield self if block_given? end |