model

package
v0.0.81 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 25, 2022 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 4 Imported by: 1

Documentation

Index

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 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

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

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"`
}

func (Config) String

func (o Config) String() string

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"`
}

整体流利度打分

func (Fluency) String

func (o Fluency) String() string

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 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"`
}

单个音素的发音评测结果

func (Phoneme) String

func (o Phoneme) String() string

type PhonemeFluency

type PhonemeFluency struct {
	Score float32 `json:"score"`

	Rhythm float32 `json:"rhythm"`
}

音素的流利度打分

func (PhonemeFluency) String

func (o PhonemeFluency) String() string

type PhonemePronunciation

type PhonemePronunciation struct {
	Score float32 `json:"score"`

	Gop float32 `json:"gop"`
}

音素的发音打分

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

type PostShortAudioAssessmentReq

type PostShortAudioAssessmentReq struct {
	Config *AudioConfig `json:"config"`

	AudioData string `json:"audio_data"`

	RefText string `json:"ref_text"`
}

func (PostShortAudioAssessmentReq) String

type PostShortAudioReq

type PostShortAudioReq struct {
	Config *Config `json:"config"`

	Data string `json:"data"`
}

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 Pronunciation

type Pronunciation struct {
	Score float32 `json:"score"`

	Gop float32 `json:"gop"`
}

整体发音打分

func (Pronunciation) String

func (o Pronunciation) String() string

type PushTranscriberJobsRequest

type PushTranscriberJobsRequest struct {
	Body *PostTranscriberJobs `json:"body,omitempty"`
}

Request Object

func (PushTranscriberJobsRequest) String

type PushTranscriberJobsResponse

type PushTranscriberJobsResponse struct {
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (PushTranscriberJobsResponse) 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 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 (*RecognizeFlashAsrRequestFirstChannelOnly) UnmarshalJSON

func (c *RecognizeFlashAsrRequestFirstChannelOnly) UnmarshalJSON(b []byte) error

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

type RecognizeShortAudioResponse

type RecognizeShortAudioResponse struct {
	TraceId *string `json:"trace_id,omitempty"`

	Result         *Result `json:"result,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (RecognizeShortAudioResponse) String

type Result

type Result struct {
	Text string `json:"text"`

	Score float32 `json:"score"`

	WordInfo *[]WordInfo `json:"word_info,omitempty"`
}

func (Result) String

func (o Result) String() string

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

type RunMultiModalAssessmentRequest

type RunMultiModalAssessmentRequest struct {
	Body *PostMultiModalAssessmentReq `json:"body,omitempty"`
}

Request Object

func (RunMultiModalAssessmentRequest) 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

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"`
}

func (Segment) String

func (o Segment) String() string

type Sentences

type Sentences struct {
	EndTime *int32 `json:"end_time,omitempty"`

	Result *FlashScoreResult `json:"result,omitempty"`

	StartTime *int32 `json:"start_time,omitempty"`
}

func (Sentences) String

func (o Sentences) String() string

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 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"`
}

语音合成配置数据结构。

func (TtsConfig) String

func (o TtsConfig) String() string

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"`
}

func (VocabInfo) String

func (o VocabInfo) String() string

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"`
}

单个单词的发音评测结果

func (Word) String

func (o Word) String() string

type WordFluency

type WordFluency struct {
	Score float32 `json:"score"`

	Rhythm float32 `json:"rhythm"`
}

单词的流利度打分

func (WordFluency) String

func (o WordFluency) String() string

type WordInfo

type WordInfo struct {
	StartTime *int32 `json:"start_time,omitempty"`

	EndTime *int32 `json:"end_time,omitempty"`

	Word *string `json:"word,omitempty"`
}

func (WordInfo) String

func (o WordInfo) String() string

type WordPronunciation

type WordPronunciation struct {
	Score float32 `json:"score"`

	Gop float32 `json:"gop"`
}

单词发音打分

func (WordPronunciation) String

func (o WordPronunciation) String() string

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL