Documentation ¶
Index ¶
- type AnalysisInfo
- type AnalysisInfoChannel
- type AnalysisInfoChannelEnum
- type AnalysisInfoResult
- type AudioConfig
- type AudioConfigAudioFormat
- type AudioConfigAudioFormatEnum
- type AudioConfigLanguage
- type AudioConfigLanguageEnum
- type AudioConfigMode
- type AudioConfigModeEnum
- type CollectTranscriberJobRequest
- type CollectTranscriberJobResponse
- type Config
- type ConfigAddPunc
- type ConfigAddPuncEnum
- type ConfigAudioFormat
- type ConfigAudioFormatEnum
- type ConfigDigitNorm
- type ConfigDigitNormEnum
- type ConfigNeedWordInfo
- type ConfigNeedWordInfoEnum
- type ConfigProperty
- type ConfigPropertyEnum
- type CreateVocabularyRequest
- type CreateVocabularyResponse
- type CustomResult
- type DeleteVocabularyRequest
- type DeleteVocabularyResponse
- type FlashResult
- type FlashScoreResult
- type Fluency
- type MultiModalConfig
- type MultiModalConfigLanguage
- type MultiModalConfigLanguageEnum
- type MultiModalConfigMode
- type MultiModalConfigModeEnum
- type MultiModalConfigVideoFormat
- type MultiModalConfigVideoFormatEnum
- type Phoneme
- type PhonemeFluency
- type PhonemePronunciation
- type PostCreateVocabReq
- type PostCreateVocabReqLanguage
- type PostCreateVocabReqLanguageEnum
- type PostCustomTtsReq
- type PostMultiModalAssessmentReq
- type PostShortAudioAssessmentReq
- type PostShortAudioReq
- type PostTranscriberJobs
- type Pronunciation
- type PushTranscriberJobsRequest
- type PushTranscriberJobsResponse
- type PutUpdateVocabReq
- type PutUpdateVocabReqLanguage
- type PutUpdateVocabReqLanguageEnum
- type RecognizeFlashAsrRequest
- type RecognizeFlashAsrRequestAddPunc
- type RecognizeFlashAsrRequestAddPuncEnum
- type RecognizeFlashAsrRequestAudioFormat
- type RecognizeFlashAsrRequestAudioFormatEnum
- type RecognizeFlashAsrRequestDigitNorm
- type RecognizeFlashAsrRequestDigitNormEnum
- type RecognizeFlashAsrRequestFirstChannelOnly
- type RecognizeFlashAsrRequestFirstChannelOnlyEnum
- type RecognizeFlashAsrRequestNeedWordInfo
- type RecognizeFlashAsrRequestNeedWordInfoEnum
- type RecognizeFlashAsrRequestProperty
- type RecognizeFlashAsrRequestPropertyEnum
- type RecognizeFlashAsrResponse
- type RecognizeShortAudioRequest
- type RecognizeShortAudioResponse
- type Result
- type RunAudioAssessmentRequest
- type RunAudioAssessmentResponse
- type RunMultiModalAssessmentRequest
- type RunMultiModalAssessmentResponse
- type RunTtsRequest
- type RunTtsResponse
- type Segment
- type Sentences
- type ShowVocabulariesParams
- type ShowVocabulariesRequest
- type ShowVocabulariesResponse
- type ShowVocabularyRequest
- type ShowVocabularyResponse
- type ShowVocabularyResponseLanguage
- type ShowVocabularyResponseLanguageEnum
- type TranscriberConfig
- type TranscriberConfigAddPunc
- type TranscriberConfigAddPuncEnum
- type TranscriberConfigAudioFormat
- type TranscriberConfigAudioFormatEnum
- type TranscriberConfigDigitNorm
- type TranscriberConfigDigitNormEnum
- type TranscriberConfigNeedWordInfo
- type TranscriberConfigNeedWordInfoEnum
- type TranscriberConfigProperty
- type TranscriberConfigPropertyEnum
- type TranscriberResult
- type TtsConfig
- type TtsConfigAudioFormat
- type TtsConfigAudioFormatEnum
- type TtsConfigProperty
- type TtsConfigPropertyEnum
- type TtsConfigSampleRate
- type TtsConfigSampleRateEnum
- type UpdateVocabularyRequest
- type UpdateVocabularyResponse
- type VocabInfo
- type VocabInfoLanguage
- type VocabInfoLanguageEnum
- type Word
- type WordFluency
- type WordInfo
- type WordPronunciation
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnalysisInfo ¶
type AnalysisInfo struct { Diarization *bool `json:"diarization,omitempty"` Channel *AnalysisInfoChannel `json:"channel,omitempty"` Emotion *bool `json:"emotion,omitempty"` Speed *bool `json:"speed,omitempty"` }
func (AnalysisInfo) String ¶
func (o AnalysisInfo) String() string
type AnalysisInfoChannel ¶
type AnalysisInfoChannel struct {
// contains filtered or unexported fields
}
func (AnalysisInfoChannel) MarshalJSON ¶
func (c AnalysisInfoChannel) MarshalJSON() ([]byte, error)
func (*AnalysisInfoChannel) UnmarshalJSON ¶
func (c *AnalysisInfoChannel) UnmarshalJSON(b []byte) error
type AnalysisInfoChannelEnum ¶
type AnalysisInfoChannelEnum struct { MONO AnalysisInfoChannel LEFT_AGENT AnalysisInfoChannel RIGHT_AGENT AnalysisInfoChannel }
func GetAnalysisInfoChannelEnum ¶
func GetAnalysisInfoChannelEnum() AnalysisInfoChannelEnum
type AnalysisInfoResult ¶
type AnalysisInfoResult struct { Role *string `json:"role,omitempty"` Emotion *string `json:"emotion,omitempty"` Speed *float32 `json:"speed,omitempty"` }
func (AnalysisInfoResult) String ¶
func (o AnalysisInfoResult) String() string
type AudioConfig ¶
type AudioConfig struct { AudioFormat *AudioConfigAudioFormat `json:"audio_format,omitempty"` Language AudioConfigLanguage `json:"language"` Mode AudioConfigMode `json:"mode"` }
func (AudioConfig) String ¶
func (o AudioConfig) String() string
type AudioConfigAudioFormat ¶
type AudioConfigAudioFormat struct {
// contains filtered or unexported fields
}
func (AudioConfigAudioFormat) MarshalJSON ¶
func (c AudioConfigAudioFormat) MarshalJSON() ([]byte, error)
func (*AudioConfigAudioFormat) UnmarshalJSON ¶
func (c *AudioConfigAudioFormat) UnmarshalJSON(b []byte) error
type AudioConfigAudioFormatEnum ¶
type AudioConfigAudioFormatEnum struct { AUTO AudioConfigAudioFormat WAV AudioConfigAudioFormat AAC AudioConfigAudioFormat MP3 AudioConfigAudioFormat AMR AudioConfigAudioFormat M4A AudioConfigAudioFormat OPUS AudioConfigAudioFormat }
func GetAudioConfigAudioFormatEnum ¶
func GetAudioConfigAudioFormatEnum() AudioConfigAudioFormatEnum
type AudioConfigLanguage ¶
type AudioConfigLanguage struct {
// contains filtered or unexported fields
}
func (AudioConfigLanguage) MarshalJSON ¶
func (c AudioConfigLanguage) MarshalJSON() ([]byte, error)
func (*AudioConfigLanguage) UnmarshalJSON ¶
func (c *AudioConfigLanguage) UnmarshalJSON(b []byte) error
type AudioConfigLanguageEnum ¶
type AudioConfigLanguageEnum struct {
EN_GB AudioConfigLanguage
}
func GetAudioConfigLanguageEnum ¶
func GetAudioConfigLanguageEnum() AudioConfigLanguageEnum
type AudioConfigMode ¶
type AudioConfigMode struct {
// contains filtered or unexported fields
}
func (AudioConfigMode) MarshalJSON ¶
func (c AudioConfigMode) MarshalJSON() ([]byte, error)
func (*AudioConfigMode) UnmarshalJSON ¶
func (c *AudioConfigMode) UnmarshalJSON(b []byte) error
type AudioConfigModeEnum ¶
type AudioConfigModeEnum struct { WORD AudioConfigMode SENTENCE AudioConfigMode }
func GetAudioConfigModeEnum ¶
func GetAudioConfigModeEnum() AudioConfigModeEnum
type CollectTranscriberJobRequest ¶
type CollectTranscriberJobRequest struct {
JobId string `json:"job_id"`
}
Request Object
func (CollectTranscriberJobRequest) String ¶
func (o CollectTranscriberJobRequest) String() string
type CollectTranscriberJobResponse ¶
type CollectTranscriberJobResponse struct { Status *string `json:"status,omitempty"` CreateTime *string `json:"create_time,omitempty"` StartTime *string `json:"start_time,omitempty"` FinishTime *string `json:"finish_time,omitempty"` Segments *[]Segment `json:"segments,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CollectTranscriberJobResponse) String ¶
func (o CollectTranscriberJobResponse) String() string
type Config ¶
type Config struct { AudioFormat ConfigAudioFormat `json:"audio_format"` Property ConfigProperty `json:"property"` AddPunc *ConfigAddPunc `json:"add_punc,omitempty"` VocabularyId *string `json:"vocabulary_id,omitempty"` DigitNorm *ConfigDigitNorm `json:"digit_norm,omitempty"` NeedWordInfo *ConfigNeedWordInfo `json:"need_word_info,omitempty"` }
type ConfigAddPunc ¶
type ConfigAddPunc struct {
// contains filtered or unexported fields
}
func (ConfigAddPunc) MarshalJSON ¶
func (c ConfigAddPunc) MarshalJSON() ([]byte, error)
func (*ConfigAddPunc) UnmarshalJSON ¶
func (c *ConfigAddPunc) UnmarshalJSON(b []byte) error
type ConfigAddPuncEnum ¶
type ConfigAddPuncEnum struct { YES ConfigAddPunc NO ConfigAddPunc }
func GetConfigAddPuncEnum ¶
func GetConfigAddPuncEnum() ConfigAddPuncEnum
type ConfigAudioFormat ¶
type ConfigAudioFormat struct {
// contains filtered or unexported fields
}
func (ConfigAudioFormat) MarshalJSON ¶
func (c ConfigAudioFormat) MarshalJSON() ([]byte, error)
func (*ConfigAudioFormat) UnmarshalJSON ¶
func (c *ConfigAudioFormat) UnmarshalJSON(b []byte) error
type ConfigAudioFormatEnum ¶
type ConfigAudioFormatEnum struct { PCM16K16BIT ConfigAudioFormat PCM8K16BIT ConfigAudioFormat ULAW16K8BIT ConfigAudioFormat ULAW8K8BIT ConfigAudioFormat ALAW16K8BIT ConfigAudioFormat ALAW8K8BIT ConfigAudioFormat MP3 ConfigAudioFormat AAC ConfigAudioFormat WAV ConfigAudioFormat AMR ConfigAudioFormat AMRWB ConfigAudioFormat }
func GetConfigAudioFormatEnum ¶
func GetConfigAudioFormatEnum() ConfigAudioFormatEnum
type ConfigDigitNorm ¶
type ConfigDigitNorm struct {
// contains filtered or unexported fields
}
func (ConfigDigitNorm) MarshalJSON ¶
func (c ConfigDigitNorm) MarshalJSON() ([]byte, error)
func (*ConfigDigitNorm) UnmarshalJSON ¶
func (c *ConfigDigitNorm) UnmarshalJSON(b []byte) error
type ConfigDigitNormEnum ¶
type ConfigDigitNormEnum struct { YES ConfigDigitNorm NO ConfigDigitNorm }
func GetConfigDigitNormEnum ¶
func GetConfigDigitNormEnum() ConfigDigitNormEnum
type ConfigNeedWordInfo ¶
type ConfigNeedWordInfo struct {
// contains filtered or unexported fields
}
func (ConfigNeedWordInfo) MarshalJSON ¶
func (c ConfigNeedWordInfo) MarshalJSON() ([]byte, error)
func (*ConfigNeedWordInfo) UnmarshalJSON ¶
func (c *ConfigNeedWordInfo) UnmarshalJSON(b []byte) error
type ConfigNeedWordInfoEnum ¶
type ConfigNeedWordInfoEnum struct { YES ConfigNeedWordInfo NO ConfigNeedWordInfo }
func GetConfigNeedWordInfoEnum ¶
func GetConfigNeedWordInfoEnum() ConfigNeedWordInfoEnum
type ConfigProperty ¶
type ConfigProperty struct {
// contains filtered or unexported fields
}
func (ConfigProperty) MarshalJSON ¶
func (c ConfigProperty) MarshalJSON() ([]byte, error)
func (*ConfigProperty) UnmarshalJSON ¶
func (c *ConfigProperty) UnmarshalJSON(b []byte) error
type ConfigPropertyEnum ¶
type ConfigPropertyEnum struct { CHINESE_8K_COMMON ConfigProperty CHINESE_16K_COMMON ConfigProperty CHINESE_16K_GENERAL ConfigProperty SICHUAN_16K_COMMON ConfigProperty CANTONESE_16K_COMMON ConfigProperty SHANGHAI_16K_COMMON ConfigProperty }
func GetConfigPropertyEnum ¶
func GetConfigPropertyEnum() ConfigPropertyEnum
type CreateVocabularyRequest ¶
type CreateVocabularyRequest struct {
Body *PostCreateVocabReq `json:"body,omitempty"`
}
Request Object
func (CreateVocabularyRequest) String ¶
func (o CreateVocabularyRequest) String() string
type CreateVocabularyResponse ¶
type CreateVocabularyResponse struct { VocabularyId *string `json:"vocabulary_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateVocabularyResponse) String ¶
func (o CreateVocabularyResponse) String() string
type CustomResult ¶
type CustomResult struct {
Data string `json:"data"`
}
调用成功表示识别结果,调用失败时无此字段。
func (CustomResult) String ¶
func (o CustomResult) String() string
type DeleteVocabularyRequest ¶
type DeleteVocabularyRequest struct {
VocabularyId string `json:"vocabulary_id"`
}
Request Object
func (DeleteVocabularyRequest) String ¶
func (o DeleteVocabularyRequest) String() string
type DeleteVocabularyResponse ¶
type DeleteVocabularyResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteVocabularyResponse) String ¶
func (o DeleteVocabularyResponse) String() string
type FlashResult ¶
type FlashResult struct { ChannelId *int32 `json:"channel_id,omitempty"` Sentences *[]Sentences `json:"sentences,omitempty"` }
func (FlashResult) String ¶
func (o FlashResult) String() string
type FlashScoreResult ¶
type FlashScoreResult struct { Text string `json:"text"` Score float64 `json:"score"` WordInfo *[]WordInfo `json:"word_info,omitempty"` }
func (FlashScoreResult) String ¶
func (o FlashScoreResult) String() string
type Fluency ¶
type Fluency struct { Score float32 `json:"score"` Rhythm float32 `json:"rhythm"` Cohesion float32 `json:"cohesion"` }
整体流利度打分
type MultiModalConfig ¶
type MultiModalConfig struct { VideoFormat *MultiModalConfigVideoFormat `json:"video_format,omitempty"` Language MultiModalConfigLanguage `json:"language"` Mode MultiModalConfigMode `json:"mode"` }
多模态评测的配置
func (MultiModalConfig) String ¶
func (o MultiModalConfig) String() string
type MultiModalConfigLanguage ¶
type MultiModalConfigLanguage struct {
// contains filtered or unexported fields
}
func (MultiModalConfigLanguage) MarshalJSON ¶
func (c MultiModalConfigLanguage) MarshalJSON() ([]byte, error)
func (*MultiModalConfigLanguage) UnmarshalJSON ¶
func (c *MultiModalConfigLanguage) UnmarshalJSON(b []byte) error
type MultiModalConfigLanguageEnum ¶
type MultiModalConfigLanguageEnum struct {
EN_GB MultiModalConfigLanguage
}
func GetMultiModalConfigLanguageEnum ¶
func GetMultiModalConfigLanguageEnum() MultiModalConfigLanguageEnum
type MultiModalConfigMode ¶
type MultiModalConfigMode struct {
// contains filtered or unexported fields
}
func (MultiModalConfigMode) MarshalJSON ¶
func (c MultiModalConfigMode) MarshalJSON() ([]byte, error)
func (*MultiModalConfigMode) UnmarshalJSON ¶
func (c *MultiModalConfigMode) UnmarshalJSON(b []byte) error
type MultiModalConfigModeEnum ¶
type MultiModalConfigModeEnum struct { WORD MultiModalConfigMode SENTENCE MultiModalConfigMode }
func GetMultiModalConfigModeEnum ¶
func GetMultiModalConfigModeEnum() MultiModalConfigModeEnum
type MultiModalConfigVideoFormat ¶
type MultiModalConfigVideoFormat struct {
// contains filtered or unexported fields
}
func (MultiModalConfigVideoFormat) MarshalJSON ¶
func (c MultiModalConfigVideoFormat) MarshalJSON() ([]byte, error)
func (*MultiModalConfigVideoFormat) UnmarshalJSON ¶
func (c *MultiModalConfigVideoFormat) UnmarshalJSON(b []byte) error
type MultiModalConfigVideoFormatEnum ¶
type MultiModalConfigVideoFormatEnum struct { AUTO MultiModalConfigVideoFormat AVI MultiModalConfigVideoFormat MP4 MultiModalConfigVideoFormat WEBM MultiModalConfigVideoFormat MKV MultiModalConfigVideoFormat FLV MultiModalConfigVideoFormat }
func GetMultiModalConfigVideoFormatEnum ¶
func GetMultiModalConfigVideoFormatEnum() MultiModalConfigVideoFormatEnum
type Phoneme ¶
type Phoneme struct { Arpa string `json:"arpa"` Ipa string `json:"ipa"` StartTime float32 `json:"start_time"` EndTime float32 `json:"end_time"` Fluency *PhonemeFluency `json:"fluency"` Pronunciation *PhonemePronunciation `json:"pronunciation"` }
单个音素的发音评测结果
type PhonemeFluency ¶
音素的流利度打分
func (PhonemeFluency) String ¶
func (o PhonemeFluency) String() string
type PhonemePronunciation ¶
音素的发音打分
func (PhonemePronunciation) String ¶
func (o PhonemePronunciation) String() string
type PostCreateVocabReq ¶
type PostCreateVocabReq struct { Name string `json:"name"` Description *string `json:"description,omitempty"` Language PostCreateVocabReqLanguage `json:"language"` Contents []string `json:"contents"` }
func (PostCreateVocabReq) String ¶
func (o PostCreateVocabReq) String() string
type PostCreateVocabReqLanguage ¶
type PostCreateVocabReqLanguage struct {
// contains filtered or unexported fields
}
func (PostCreateVocabReqLanguage) MarshalJSON ¶
func (c PostCreateVocabReqLanguage) MarshalJSON() ([]byte, error)
func (*PostCreateVocabReqLanguage) UnmarshalJSON ¶
func (c *PostCreateVocabReqLanguage) UnmarshalJSON(b []byte) error
type PostCreateVocabReqLanguageEnum ¶
type PostCreateVocabReqLanguageEnum struct {
CHINESE_MANDARIN PostCreateVocabReqLanguage
}
func GetPostCreateVocabReqLanguageEnum ¶
func GetPostCreateVocabReqLanguageEnum() PostCreateVocabReqLanguageEnum
type PostCustomTtsReq ¶
type PostCustomTtsReq struct { Text string `json:"text"` Config *TtsConfig `json:"config,omitempty"` }
func (PostCustomTtsReq) String ¶
func (o PostCustomTtsReq) String() string
type PostMultiModalAssessmentReq ¶
type PostMultiModalAssessmentReq struct { Config *MultiModalConfig `json:"config"` VideoData string `json:"video_data"` RefText string `json:"ref_text"` }
func (PostMultiModalAssessmentReq) String ¶
func (o PostMultiModalAssessmentReq) String() string
type PostShortAudioAssessmentReq ¶
type PostShortAudioAssessmentReq struct { Config *AudioConfig `json:"config"` AudioData string `json:"audio_data"` RefText string `json:"ref_text"` }
func (PostShortAudioAssessmentReq) String ¶
func (o PostShortAudioAssessmentReq) String() string
type PostShortAudioReq ¶
func (PostShortAudioReq) String ¶
func (o PostShortAudioReq) String() string
type PostTranscriberJobs ¶
type PostTranscriberJobs struct { Config *TranscriberConfig `json:"config"` DataUrl string `json:"data_url"` }
func (PostTranscriberJobs) String ¶
func (o PostTranscriberJobs) String() string
type PushTranscriberJobsRequest ¶
type PushTranscriberJobsRequest struct {
Body *PostTranscriberJobs `json:"body,omitempty"`
}
Request Object
func (PushTranscriberJobsRequest) String ¶
func (o PushTranscriberJobsRequest) String() string
type PushTranscriberJobsResponse ¶
type PushTranscriberJobsResponse struct { JobId *string `json:"job_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (PushTranscriberJobsResponse) String ¶
func (o PushTranscriberJobsResponse) String() string
type PutUpdateVocabReq ¶
type PutUpdateVocabReq struct { Name string `json:"name"` Description *string `json:"description,omitempty"` Language PutUpdateVocabReqLanguage `json:"language"` Contents []string `json:"contents"` }
func (PutUpdateVocabReq) String ¶
func (o PutUpdateVocabReq) String() string
type PutUpdateVocabReqLanguage ¶
type PutUpdateVocabReqLanguage struct {
// contains filtered or unexported fields
}
func (PutUpdateVocabReqLanguage) MarshalJSON ¶
func (c PutUpdateVocabReqLanguage) MarshalJSON() ([]byte, error)
func (*PutUpdateVocabReqLanguage) UnmarshalJSON ¶
func (c *PutUpdateVocabReqLanguage) UnmarshalJSON(b []byte) error
type PutUpdateVocabReqLanguageEnum ¶
type PutUpdateVocabReqLanguageEnum struct {
CHINESE_MANDARIN PutUpdateVocabReqLanguage
}
func GetPutUpdateVocabReqLanguageEnum ¶
func GetPutUpdateVocabReqLanguageEnum() PutUpdateVocabReqLanguageEnum
type RecognizeFlashAsrRequest ¶
type RecognizeFlashAsrRequest struct { Property RecognizeFlashAsrRequestProperty `json:"property"` AudioFormat RecognizeFlashAsrRequestAudioFormat `json:"audio_format"` AddPunc *RecognizeFlashAsrRequestAddPunc `json:"add_punc,omitempty"` DigitNorm *RecognizeFlashAsrRequestDigitNorm `json:"digit_norm,omitempty"` NeedWordInfo *RecognizeFlashAsrRequestNeedWordInfo `json:"need_word_info,omitempty"` VocabularyId *string `json:"vocabulary_id,omitempty"` ObsBucketName *string `json:"obs_bucket_name,omitempty"` ObsObjectKey *string `json:"obs_object_key,omitempty"` FirstChannelOnly *RecognizeFlashAsrRequestFirstChannelOnly `json:"first_channel_only,omitempty"` }
Request Object
func (RecognizeFlashAsrRequest) String ¶
func (o RecognizeFlashAsrRequest) String() string
type RecognizeFlashAsrRequestAddPunc ¶
type RecognizeFlashAsrRequestAddPunc struct {
// contains filtered or unexported fields
}
func (RecognizeFlashAsrRequestAddPunc) MarshalJSON ¶
func (c RecognizeFlashAsrRequestAddPunc) MarshalJSON() ([]byte, error)
func (*RecognizeFlashAsrRequestAddPunc) UnmarshalJSON ¶
func (c *RecognizeFlashAsrRequestAddPunc) UnmarshalJSON(b []byte) error
type RecognizeFlashAsrRequestAddPuncEnum ¶
type RecognizeFlashAsrRequestAddPuncEnum struct { YES RecognizeFlashAsrRequestAddPunc NO RecognizeFlashAsrRequestAddPunc }
func GetRecognizeFlashAsrRequestAddPuncEnum ¶
func GetRecognizeFlashAsrRequestAddPuncEnum() RecognizeFlashAsrRequestAddPuncEnum
type RecognizeFlashAsrRequestAudioFormat ¶
type RecognizeFlashAsrRequestAudioFormat struct {
// contains filtered or unexported fields
}
func (RecognizeFlashAsrRequestAudioFormat) MarshalJSON ¶
func (c RecognizeFlashAsrRequestAudioFormat) MarshalJSON() ([]byte, error)
func (*RecognizeFlashAsrRequestAudioFormat) UnmarshalJSON ¶
func (c *RecognizeFlashAsrRequestAudioFormat) UnmarshalJSON(b []byte) error
type RecognizeFlashAsrRequestAudioFormatEnum ¶
type RecognizeFlashAsrRequestAudioFormatEnum struct { WAV RecognizeFlashAsrRequestAudioFormat MP3 RecognizeFlashAsrRequestAudioFormat M4A RecognizeFlashAsrRequestAudioFormat AAC RecognizeFlashAsrRequestAudioFormat OPUS RecognizeFlashAsrRequestAudioFormat }
func GetRecognizeFlashAsrRequestAudioFormatEnum ¶
func GetRecognizeFlashAsrRequestAudioFormatEnum() RecognizeFlashAsrRequestAudioFormatEnum
type RecognizeFlashAsrRequestDigitNorm ¶
type RecognizeFlashAsrRequestDigitNorm struct {
// contains filtered or unexported fields
}
func (RecognizeFlashAsrRequestDigitNorm) MarshalJSON ¶
func (c RecognizeFlashAsrRequestDigitNorm) MarshalJSON() ([]byte, error)
func (*RecognizeFlashAsrRequestDigitNorm) UnmarshalJSON ¶
func (c *RecognizeFlashAsrRequestDigitNorm) UnmarshalJSON(b []byte) error
type RecognizeFlashAsrRequestDigitNormEnum ¶
type RecognizeFlashAsrRequestDigitNormEnum struct { YES RecognizeFlashAsrRequestDigitNorm NO RecognizeFlashAsrRequestDigitNorm }
func GetRecognizeFlashAsrRequestDigitNormEnum ¶
func GetRecognizeFlashAsrRequestDigitNormEnum() RecognizeFlashAsrRequestDigitNormEnum
type RecognizeFlashAsrRequestFirstChannelOnly ¶
type RecognizeFlashAsrRequestFirstChannelOnly struct {
// contains filtered or unexported fields
}
func (RecognizeFlashAsrRequestFirstChannelOnly) MarshalJSON ¶
func (c RecognizeFlashAsrRequestFirstChannelOnly) MarshalJSON() ([]byte, error)
func (*RecognizeFlashAsrRequestFirstChannelOnly) UnmarshalJSON ¶
func (c *RecognizeFlashAsrRequestFirstChannelOnly) UnmarshalJSON(b []byte) error
type RecognizeFlashAsrRequestFirstChannelOnlyEnum ¶
type RecognizeFlashAsrRequestFirstChannelOnlyEnum struct { YES RecognizeFlashAsrRequestFirstChannelOnly NO RecognizeFlashAsrRequestFirstChannelOnly }
func GetRecognizeFlashAsrRequestFirstChannelOnlyEnum ¶
func GetRecognizeFlashAsrRequestFirstChannelOnlyEnum() RecognizeFlashAsrRequestFirstChannelOnlyEnum
type RecognizeFlashAsrRequestNeedWordInfo ¶
type RecognizeFlashAsrRequestNeedWordInfo struct {
// contains filtered or unexported fields
}
func (RecognizeFlashAsrRequestNeedWordInfo) MarshalJSON ¶
func (c RecognizeFlashAsrRequestNeedWordInfo) MarshalJSON() ([]byte, error)
func (*RecognizeFlashAsrRequestNeedWordInfo) UnmarshalJSON ¶
func (c *RecognizeFlashAsrRequestNeedWordInfo) UnmarshalJSON(b []byte) error
type RecognizeFlashAsrRequestNeedWordInfoEnum ¶
type RecognizeFlashAsrRequestNeedWordInfoEnum struct { YES RecognizeFlashAsrRequestNeedWordInfo NO RecognizeFlashAsrRequestNeedWordInfo }
func GetRecognizeFlashAsrRequestNeedWordInfoEnum ¶
func GetRecognizeFlashAsrRequestNeedWordInfoEnum() RecognizeFlashAsrRequestNeedWordInfoEnum
type RecognizeFlashAsrRequestProperty ¶
type RecognizeFlashAsrRequestProperty struct {
// contains filtered or unexported fields
}
func (RecognizeFlashAsrRequestProperty) MarshalJSON ¶
func (c RecognizeFlashAsrRequestProperty) MarshalJSON() ([]byte, error)
func (*RecognizeFlashAsrRequestProperty) UnmarshalJSON ¶
func (c *RecognizeFlashAsrRequestProperty) UnmarshalJSON(b []byte) error
type RecognizeFlashAsrRequestPropertyEnum ¶
type RecognizeFlashAsrRequestPropertyEnum struct { CHINESE_8K_COMMON RecognizeFlashAsrRequestProperty CHINESE_16K_COMMON RecognizeFlashAsrRequestProperty }
func GetRecognizeFlashAsrRequestPropertyEnum ¶
func GetRecognizeFlashAsrRequestPropertyEnum() RecognizeFlashAsrRequestPropertyEnum
type RecognizeFlashAsrResponse ¶
type RecognizeFlashAsrResponse struct { TraceId *string `json:"trace_id,omitempty"` AudioDuration *int32 `json:"audio_duration,omitempty"` FlashResult *[]FlashResult `json:"flash_result,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (RecognizeFlashAsrResponse) String ¶
func (o RecognizeFlashAsrResponse) String() string
type RecognizeShortAudioRequest ¶
type RecognizeShortAudioRequest struct {
Body *PostShortAudioReq `json:"body,omitempty"`
}
Request Object
func (RecognizeShortAudioRequest) String ¶
func (o RecognizeShortAudioRequest) String() string
type RecognizeShortAudioResponse ¶
type RecognizeShortAudioResponse struct { TraceId *string `json:"trace_id,omitempty"` Result *Result `json:"result,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (RecognizeShortAudioResponse) String ¶
func (o RecognizeShortAudioResponse) String() string
type Result ¶
type RunAudioAssessmentRequest ¶
type RunAudioAssessmentRequest struct {
Body *PostShortAudioAssessmentReq `json:"body,omitempty"`
}
Request Object
func (RunAudioAssessmentRequest) String ¶
func (o RunAudioAssessmentRequest) String() string
type RunAudioAssessmentResponse ¶
type RunAudioAssessmentResponse struct { Score *float32 `json:"score,omitempty"` Completeness *float32 `json:"completeness,omitempty"` Duration *float32 `json:"duration,omitempty"` Pronunciation *Pronunciation `json:"pronunciation,omitempty"` Fluency *Fluency `json:"fluency,omitempty"` Words *[]Word `json:"words,omitempty"` TraceId *string `json:"traceId,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (RunAudioAssessmentResponse) String ¶
func (o RunAudioAssessmentResponse) String() string
type RunMultiModalAssessmentRequest ¶
type RunMultiModalAssessmentRequest struct {
Body *PostMultiModalAssessmentReq `json:"body,omitempty"`
}
Request Object
func (RunMultiModalAssessmentRequest) String ¶
func (o RunMultiModalAssessmentRequest) String() string
type RunMultiModalAssessmentResponse ¶
type RunMultiModalAssessmentResponse struct { Score *float32 `json:"score,omitempty"` Completeness *float32 `json:"completeness,omitempty"` Duration *float32 `json:"duration,omitempty"` Pronunciation *Pronunciation `json:"pronunciation,omitempty"` Fluency *Fluency `json:"fluency,omitempty"` Words *[]Word `json:"words,omitempty"` TraceId *string `json:"traceId,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (RunMultiModalAssessmentResponse) String ¶
func (o RunMultiModalAssessmentResponse) String() string
type RunTtsRequest ¶
type RunTtsRequest struct {
Body *PostCustomTtsReq `json:"body,omitempty"`
}
Request Object
func (RunTtsRequest) String ¶
func (o RunTtsRequest) String() string
type RunTtsResponse ¶
type RunTtsResponse struct { TraceId *string `json:"trace_id,omitempty"` Result *CustomResult `json:"result,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (RunTtsResponse) String ¶
func (o RunTtsResponse) String() string
type Segment ¶
type Segment struct { StartTime int32 `json:"start_time"` EndTime int32 `json:"end_time"` Result *TranscriberResult `json:"result"` }
type Sentences ¶
type Sentences struct { EndTime *int32 `json:"end_time,omitempty"` Result *FlashScoreResult `json:"result,omitempty"` StartTime *int32 `json:"start_time,omitempty"` }
type ShowVocabulariesParams ¶
type ShowVocabulariesParams struct {
Name *string `json:"name,omitempty"`
}
func (ShowVocabulariesParams) String ¶
func (o ShowVocabulariesParams) String() string
type ShowVocabulariesRequest ¶
type ShowVocabulariesRequest struct {
Body *ShowVocabulariesParams `json:"body,omitempty"`
}
Request Object
func (ShowVocabulariesRequest) String ¶
func (o ShowVocabulariesRequest) String() string
type ShowVocabulariesResponse ¶
type ShowVocabulariesResponse struct { Count *int32 `json:"count,omitempty"` Result *[]VocabInfo `json:"result,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowVocabulariesResponse) String ¶
func (o ShowVocabulariesResponse) String() string
type ShowVocabularyRequest ¶
type ShowVocabularyRequest struct {
VocabularyId string `json:"vocabulary_id"`
}
Request Object
func (ShowVocabularyRequest) String ¶
func (o ShowVocabularyRequest) String() string
type ShowVocabularyResponse ¶
type ShowVocabularyResponse struct { VocabularyId *string `json:"vocabulary_id,omitempty"` Name *string `json:"name,omitempty"` Description *string `json:"description,omitempty"` Language *ShowVocabularyResponseLanguage `json:"language,omitempty"` Contents *[]string `json:"contents,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowVocabularyResponse) String ¶
func (o ShowVocabularyResponse) String() string
type ShowVocabularyResponseLanguage ¶
type ShowVocabularyResponseLanguage struct {
// contains filtered or unexported fields
}
func (ShowVocabularyResponseLanguage) MarshalJSON ¶
func (c ShowVocabularyResponseLanguage) MarshalJSON() ([]byte, error)
func (*ShowVocabularyResponseLanguage) UnmarshalJSON ¶
func (c *ShowVocabularyResponseLanguage) UnmarshalJSON(b []byte) error
type ShowVocabularyResponseLanguageEnum ¶
type ShowVocabularyResponseLanguageEnum struct { CHINESE_MANDARIN ShowVocabularyResponseLanguage ENGLISH ShowVocabularyResponseLanguage }
func GetShowVocabularyResponseLanguageEnum ¶
func GetShowVocabularyResponseLanguageEnum() ShowVocabularyResponseLanguageEnum
type TranscriberConfig ¶
type TranscriberConfig struct { AudioFormat *TranscriberConfigAudioFormat `json:"audio_format,omitempty"` Property TranscriberConfigProperty `json:"property"` AddPunc *TranscriberConfigAddPunc `json:"add_punc,omitempty"` NeedAnalysisInfo *AnalysisInfo `json:"need_analysis_info,omitempty"` VocabularyId *string `json:"vocabulary_id,omitempty"` DigitNorm *TranscriberConfigDigitNorm `json:"digit_norm,omitempty"` CallbackUrl *string `json:"callback_url,omitempty"` NeedWordInfo *TranscriberConfigNeedWordInfo `json:"need_word_info,omitempty"` }
func (TranscriberConfig) String ¶
func (o TranscriberConfig) String() string
type TranscriberConfigAddPunc ¶
type TranscriberConfigAddPunc struct {
// contains filtered or unexported fields
}
func (TranscriberConfigAddPunc) MarshalJSON ¶
func (c TranscriberConfigAddPunc) MarshalJSON() ([]byte, error)
func (*TranscriberConfigAddPunc) UnmarshalJSON ¶
func (c *TranscriberConfigAddPunc) UnmarshalJSON(b []byte) error
type TranscriberConfigAddPuncEnum ¶
type TranscriberConfigAddPuncEnum struct { YES TranscriberConfigAddPunc NO TranscriberConfigAddPunc }
func GetTranscriberConfigAddPuncEnum ¶
func GetTranscriberConfigAddPuncEnum() TranscriberConfigAddPuncEnum
type TranscriberConfigAudioFormat ¶
type TranscriberConfigAudioFormat struct {
// contains filtered or unexported fields
}
func (TranscriberConfigAudioFormat) MarshalJSON ¶
func (c TranscriberConfigAudioFormat) MarshalJSON() ([]byte, error)
func (*TranscriberConfigAudioFormat) UnmarshalJSON ¶
func (c *TranscriberConfigAudioFormat) UnmarshalJSON(b []byte) error
type TranscriberConfigAudioFormatEnum ¶
type TranscriberConfigAudioFormatEnum struct { AUTO TranscriberConfigAudioFormat PCM16K16BIT TranscriberConfigAudioFormat PCM8K16BIT TranscriberConfigAudioFormat ULAW16K8BIT TranscriberConfigAudioFormat ULAW8K8BIT TranscriberConfigAudioFormat ALAW16K8BIT TranscriberConfigAudioFormat ALAW8K8BIT TranscriberConfigAudioFormat VOX8K4BIT TranscriberConfigAudioFormat V3_8K4BIT TranscriberConfigAudioFormat }
func GetTranscriberConfigAudioFormatEnum ¶
func GetTranscriberConfigAudioFormatEnum() TranscriberConfigAudioFormatEnum
type TranscriberConfigDigitNorm ¶
type TranscriberConfigDigitNorm struct {
// contains filtered or unexported fields
}
func (TranscriberConfigDigitNorm) MarshalJSON ¶
func (c TranscriberConfigDigitNorm) MarshalJSON() ([]byte, error)
func (*TranscriberConfigDigitNorm) UnmarshalJSON ¶
func (c *TranscriberConfigDigitNorm) UnmarshalJSON(b []byte) error
type TranscriberConfigDigitNormEnum ¶
type TranscriberConfigDigitNormEnum struct { YES TranscriberConfigDigitNorm NO TranscriberConfigDigitNorm }
func GetTranscriberConfigDigitNormEnum ¶
func GetTranscriberConfigDigitNormEnum() TranscriberConfigDigitNormEnum
type TranscriberConfigNeedWordInfo ¶
type TranscriberConfigNeedWordInfo struct {
// contains filtered or unexported fields
}
func (TranscriberConfigNeedWordInfo) MarshalJSON ¶
func (c TranscriberConfigNeedWordInfo) MarshalJSON() ([]byte, error)
func (*TranscriberConfigNeedWordInfo) UnmarshalJSON ¶
func (c *TranscriberConfigNeedWordInfo) UnmarshalJSON(b []byte) error
type TranscriberConfigNeedWordInfoEnum ¶
type TranscriberConfigNeedWordInfoEnum struct { YES TranscriberConfigNeedWordInfo NO TranscriberConfigNeedWordInfo }
func GetTranscriberConfigNeedWordInfoEnum ¶
func GetTranscriberConfigNeedWordInfoEnum() TranscriberConfigNeedWordInfoEnum
type TranscriberConfigProperty ¶
type TranscriberConfigProperty struct {
// contains filtered or unexported fields
}
func (TranscriberConfigProperty) MarshalJSON ¶
func (c TranscriberConfigProperty) MarshalJSON() ([]byte, error)
func (*TranscriberConfigProperty) UnmarshalJSON ¶
func (c *TranscriberConfigProperty) UnmarshalJSON(b []byte) error
type TranscriberConfigPropertyEnum ¶
type TranscriberConfigPropertyEnum struct { CHINESE_8K_COMMON TranscriberConfigProperty CHINESE_16K_CONVERSATION TranscriberConfigProperty CHINESE_8K_BANK TranscriberConfigProperty CHINESE_8K_INSURANCE TranscriberConfigProperty }
func GetTranscriberConfigPropertyEnum ¶
func GetTranscriberConfigPropertyEnum() TranscriberConfigPropertyEnum
type TranscriberResult ¶
type TranscriberResult struct { Text string `json:"text"` AnalysisInfo *AnalysisInfoResult `json:"analysis_info,omitempty"` WordInfo *[]WordInfo `json:"word_info,omitempty"` }
func (TranscriberResult) String ¶
func (o TranscriberResult) String() string
type TtsConfig ¶
type TtsConfig struct { AudioFormat *TtsConfigAudioFormat `json:"audio_format,omitempty"` SampleRate *TtsConfigSampleRate `json:"sample_rate,omitempty"` Property *TtsConfigProperty `json:"property,omitempty"` Speed *int32 `json:"speed,omitempty"` Pitch *int32 `json:"pitch,omitempty"` Volume *int32 `json:"volume,omitempty"` }
语音合成配置数据结构。
type TtsConfigAudioFormat ¶
type TtsConfigAudioFormat struct {
// contains filtered or unexported fields
}
func (TtsConfigAudioFormat) MarshalJSON ¶
func (c TtsConfigAudioFormat) MarshalJSON() ([]byte, error)
func (*TtsConfigAudioFormat) UnmarshalJSON ¶
func (c *TtsConfigAudioFormat) UnmarshalJSON(b []byte) error
type TtsConfigAudioFormatEnum ¶
type TtsConfigAudioFormatEnum struct { WAV TtsConfigAudioFormat MP3 TtsConfigAudioFormat PCM TtsConfigAudioFormat }
func GetTtsConfigAudioFormatEnum ¶
func GetTtsConfigAudioFormatEnum() TtsConfigAudioFormatEnum
type TtsConfigProperty ¶
type TtsConfigProperty struct {
// contains filtered or unexported fields
}
func (TtsConfigProperty) MarshalJSON ¶
func (c TtsConfigProperty) MarshalJSON() ([]byte, error)
func (*TtsConfigProperty) UnmarshalJSON ¶
func (c *TtsConfigProperty) UnmarshalJSON(b []byte) error
type TtsConfigPropertyEnum ¶
type TtsConfigPropertyEnum struct { CHINESE_XIAOQI_COMMON TtsConfigProperty CHINESE_XIAOYU_COMMON TtsConfigProperty CHINESE_XIAOYAN_COMMON TtsConfigProperty CHINESE_XIAOXIA_COMMON TtsConfigProperty CHINESE_XIAODAI_COMMON TtsConfigProperty CHINESE_XIAOQIAN_COMMON TtsConfigProperty CHINESE_XIAOWANG_COMMON TtsConfigProperty CHINESE_XIAOWEN_COMMON TtsConfigProperty CHINESE_XIAOJING_COMMON TtsConfigProperty CHINESE_XIAOSONG_COMMON TtsConfigProperty ENGLISH_CAMEAL_COMMON TtsConfigProperty CHINESE_HUAXIAOXIA_COMMON TtsConfigProperty CHINESE_HUAXIAOGANG_COMMON TtsConfigProperty CHINESE_HUAXIAOLU_COMMON TtsConfigProperty CHINESE_HUAXIAOSHU_COMMON TtsConfigProperty CHINESE_HUAXIAOWEI_COMMON TtsConfigProperty CHINESE_HUAXIAOLIANG_COMMON TtsConfigProperty CHINESE_HUAXIAODONG_COMMON TtsConfigProperty CHINESE_HUAXIAOYAN_COMMON TtsConfigProperty CHINESE_HUAXIAOXUAN_COMMON TtsConfigProperty CHINESE_HUAXIAOWEN_COMMON TtsConfigProperty CHINESE_HUAXIAOYANG_COMMON TtsConfigProperty CHINESE_HUAXIAOMIN_COMMON TtsConfigProperty CHINESE_HUANVXIA_LITERATURE TtsConfigProperty CHINESE_HUAXIAOXUAN_LITERATURE TtsConfigProperty }
func GetTtsConfigPropertyEnum ¶
func GetTtsConfigPropertyEnum() TtsConfigPropertyEnum
type TtsConfigSampleRate ¶
type TtsConfigSampleRate struct {
// contains filtered or unexported fields
}
func (TtsConfigSampleRate) MarshalJSON ¶
func (c TtsConfigSampleRate) MarshalJSON() ([]byte, error)
func (*TtsConfigSampleRate) UnmarshalJSON ¶
func (c *TtsConfigSampleRate) UnmarshalJSON(b []byte) error
type TtsConfigSampleRateEnum ¶
type TtsConfigSampleRateEnum struct { E_16000 TtsConfigSampleRate E_8000 TtsConfigSampleRate }
func GetTtsConfigSampleRateEnum ¶
func GetTtsConfigSampleRateEnum() TtsConfigSampleRateEnum
type UpdateVocabularyRequest ¶
type UpdateVocabularyRequest struct { VocabularyId string `json:"vocabulary_id"` Body *PutUpdateVocabReq `json:"body,omitempty"` }
Request Object
func (UpdateVocabularyRequest) String ¶
func (o UpdateVocabularyRequest) String() string
type UpdateVocabularyResponse ¶
type UpdateVocabularyResponse struct { VocabularyId *string `json:"vocabulary_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateVocabularyResponse) String ¶
func (o UpdateVocabularyResponse) String() string
type VocabInfo ¶
type VocabInfo struct { VocabularyId string `json:"vocabulary_id"` Name string `json:"name"` Language VocabInfoLanguage `json:"language"` Description string `json:"description"` }
type VocabInfoLanguage ¶
type VocabInfoLanguage struct {
// contains filtered or unexported fields
}
func (VocabInfoLanguage) MarshalJSON ¶
func (c VocabInfoLanguage) MarshalJSON() ([]byte, error)
func (*VocabInfoLanguage) UnmarshalJSON ¶
func (c *VocabInfoLanguage) UnmarshalJSON(b []byte) error
type VocabInfoLanguageEnum ¶
type VocabInfoLanguageEnum struct { CHINESE_MANDARIN VocabInfoLanguage ENGLISH VocabInfoLanguage }
func GetVocabInfoLanguageEnum ¶
func GetVocabInfoLanguageEnum() VocabInfoLanguageEnum
type Word ¶
type Word struct { Text string `json:"text"` TextOriginal string `json:"text_original"` TextNormalised []string `json:"text_normalised"` OutOfVocabulary *bool `json:"out_of_vocabulary,omitempty"` StartTime *float32 `json:"start_time,omitempty"` EndTime *float32 `json:"end_time,omitempty"` Score *float32 `json:"score,omitempty"` Pronunciation *WordPronunciation `json:"pronunciation,omitempty"` Fluency *WordFluency `json:"fluency,omitempty"` Phonemes *[]Phoneme `json:"phonemes,omitempty"` }
单个单词的发音评测结果
type WordInfo ¶
type WordPronunciation ¶
单词发音打分
func (WordPronunciation) String ¶
func (o WordPronunciation) String() string
Source Files ¶
- model_analysis_info.go
- model_analysis_info_result.go
- model_audio_config.go
- model_collect_transcriber_job_request.go
- model_collect_transcriber_job_response.go
- model_config.go
- model_create_vocabulary_request.go
- model_create_vocabulary_response.go
- model_custom_result.go
- model_delete_vocabulary_request.go
- model_delete_vocabulary_response.go
- model_flash_result.go
- model_flash_score_result.go
- model_fluency.go
- model_multi_modal_config.go
- model_phoneme.go
- model_phoneme_fluency.go
- model_phoneme_pronunciation.go
- model_post_create_vocab_req.go
- model_post_custom_tts_req.go
- model_post_multi_modal_assessment_req.go
- model_post_short_audio_assessment_req.go
- model_post_short_audio_req.go
- model_post_transcriber_jobs.go
- model_pronunciation.go
- model_push_transcriber_jobs_request.go
- model_push_transcriber_jobs_response.go
- model_put_update_vocab_req.go
- model_recognize_flash_asr_request.go
- model_recognize_flash_asr_response.go
- model_recognize_short_audio_request.go
- model_recognize_short_audio_response.go
- model_result.go
- model_run_audio_assessment_request.go
- model_run_audio_assessment_response.go
- model_run_multi_modal_assessment_request.go
- model_run_multi_modal_assessment_response.go
- model_run_tts_request.go
- model_run_tts_response.go
- model_segment.go
- model_sentences.go
- model_show_vocabularies_params.go
- model_show_vocabularies_request.go
- model_show_vocabularies_response.go
- model_show_vocabulary_request.go
- model_show_vocabulary_response.go
- model_transcriber_config.go
- model_transcriber_result.go
- model_tts_config.go
- model_update_vocabulary_request.go
- model_update_vocabulary_response.go
- model_vocab_info.go
- model_word.go
- model_word_fluency.go
- model_word_info.go
- model_word_pronunciation.go
Click to show internal directories.
Click to hide internal directories.