model

package
v0.0.82 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AspectAdvanceOpinion

type AspectAdvanceOpinion struct {
	AspectCategory string `json:"aspect_category"`

	Label int32 `json:"label"`

	Confidence *float32 `json:"confidence,omitempty"`

	AspectTerm string `json:"aspect_term"`

	OpinionTerm string `json:"opinion_term"`

	Span []int32 `json:"span"`

	Tag *string `json:"tag,omitempty"`
}

属性观点列表

func (AspectAdvanceOpinion) String

func (o AspectAdvanceOpinion) String() string

type AspectOpinion

type AspectOpinion struct {
	AspectCategory string `json:"aspect_category"`

	AspectTerm string `json:"aspect_term"`

	OpinionTerm string `json:"opinion_term"`

	Span []int32 `json:"span"`

	Label int32 `json:"label"`

	Confidence *float32 `json:"confidence,omitempty"`

	Tag *string `json:"tag,omitempty"`
}

属性观点列表

func (AspectOpinion) String

func (o AspectOpinion) String() string

type AspectSentimentAdvanceRequest

type AspectSentimentAdvanceRequest struct {
	Content string `json:"content"`

	Type AspectSentimentAdvanceRequestType `json:"type"`
}

func (AspectSentimentAdvanceRequest) String

type AspectSentimentAdvanceRequestType

type AspectSentimentAdvanceRequestType struct {
	// contains filtered or unexported fields
}

func (AspectSentimentAdvanceRequestType) MarshalJSON

func (c AspectSentimentAdvanceRequestType) MarshalJSON() ([]byte, error)

func (*AspectSentimentAdvanceRequestType) UnmarshalJSON

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

type AspectSentimentAdvanceRequestTypeEnum

type AspectSentimentAdvanceRequestTypeEnum struct {
	E_1 AspectSentimentAdvanceRequestType
	E_2 AspectSentimentAdvanceRequestType
}

func GetAspectSentimentAdvanceRequestTypeEnum

func GetAspectSentimentAdvanceRequestTypeEnum() AspectSentimentAdvanceRequestTypeEnum

type AspectSentimentRequest

type AspectSentimentRequest struct {
	Content string `json:"content"`

	Type AspectSentimentRequestType `json:"type"`
}

func (AspectSentimentRequest) String

func (o AspectSentimentRequest) String() string

type AspectSentimentRequestType

type AspectSentimentRequestType struct {
	// contains filtered or unexported fields
}

func (AspectSentimentRequestType) MarshalJSON

func (c AspectSentimentRequestType) MarshalJSON() ([]byte, error)

func (*AspectSentimentRequestType) UnmarshalJSON

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

type AspectSentimentRequestTypeEnum

type AspectSentimentRequestTypeEnum struct {
	E_1 AspectSentimentRequestType
}

func GetAspectSentimentRequestTypeEnum

func GetAspectSentimentRequestTypeEnum() AspectSentimentRequestTypeEnum

type ClassificationReq

type ClassificationReq struct {
	Content string `json:"content"`

	Domain *ClassificationReqDomain `json:"domain,omitempty"`
}

func (ClassificationReq) String

func (o ClassificationReq) String() string

type ClassificationReqDomain

type ClassificationReqDomain struct {
	// contains filtered or unexported fields
}

func (ClassificationReqDomain) MarshalJSON

func (c ClassificationReqDomain) MarshalJSON() ([]byte, error)

func (*ClassificationReqDomain) UnmarshalJSON

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

type ClassificationReqDomainEnum

type ClassificationReqDomainEnum struct {
	E_1 ClassificationReqDomain
}

func GetClassificationReqDomainEnum

func GetClassificationReqDomainEnum() ClassificationReqDomainEnum

type ClassificationResult

type ClassificationResult struct {
	Content string `json:"content"`

	Label int32 `json:"label"`

	Confidence float32 `json:"confidence"`
}

result字段数据结构说明

func (ClassificationResult) String

func (o ClassificationResult) String() string

type CreatePoem

type CreatePoem struct {
	Title string `json:"title"`

	Type CreatePoemType `json:"type"`

	Acrostic *bool `json:"acrostic,omitempty"`
}

func (CreatePoem) String

func (o CreatePoem) String() string

type CreatePoemType

type CreatePoemType struct {
	// contains filtered or unexported fields
}

func (CreatePoemType) MarshalJSON

func (c CreatePoemType) MarshalJSON() ([]byte, error)

func (*CreatePoemType) UnmarshalJSON

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

type CreatePoemTypeEnum

type CreatePoemTypeEnum struct {
	E_0 CreatePoemType
	E_1 CreatePoemType
	E_2 CreatePoemType
	E_3 CreatePoemType
}

func GetCreatePoemTypeEnum

func GetCreatePoemTypeEnum() CreatePoemTypeEnum

type DependencyParserRequest

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

	Lang *DependencyParserRequestLang `json:"lang,omitempty"`
}

依存句法分析请求体

func (DependencyParserRequest) String

func (o DependencyParserRequest) String() string

type DependencyParserRequestLang

type DependencyParserRequestLang struct {
	// contains filtered or unexported fields
}

func (DependencyParserRequestLang) MarshalJSON

func (c DependencyParserRequestLang) MarshalJSON() ([]byte, error)

func (*DependencyParserRequestLang) UnmarshalJSON

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

type DependencyParserRequestLangEnum

type DependencyParserRequestLangEnum struct {
	ZH DependencyParserRequestLang
}

func GetDependencyParserRequestLangEnum

func GetDependencyParserRequestLangEnum() DependencyParserRequestLangEnum

type DependencyParserWord

type DependencyParserWord struct {
	Id int32 `json:"id"`

	Word string `json:"word"`

	HeadWordId int32 `json:"head_word_id"`

	Pos string `json:"pos"`

	DependencyLabel DependencyParserWordDependencyLabel `json:"dependency_label"`
}

依存句法分析结果词汇单元结构体

func (DependencyParserWord) String

func (o DependencyParserWord) String() string

type DependencyParserWordDependencyLabel

type DependencyParserWordDependencyLabel struct {
	// contains filtered or unexported fields
}

func (DependencyParserWordDependencyLabel) MarshalJSON

func (c DependencyParserWordDependencyLabel) MarshalJSON() ([]byte, error)

func (*DependencyParserWordDependencyLabel) UnmarshalJSON

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

type DocumentClassificationReq

type DocumentClassificationReq struct {
	Content string `json:"content"`

	Lang *DocumentClassificationReqLang `json:"lang,omitempty"`
}

func (DocumentClassificationReq) String

func (o DocumentClassificationReq) String() string

type DocumentClassificationReqLang

type DocumentClassificationReqLang struct {
	// contains filtered or unexported fields
}

func (DocumentClassificationReqLang) MarshalJSON

func (c DocumentClassificationReqLang) MarshalJSON() ([]byte, error)

func (*DocumentClassificationReqLang) UnmarshalJSON

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

type DocumentClassificationReqLangEnum

type DocumentClassificationReqLangEnum struct {
	ZH DocumentClassificationReqLang
}

func GetDocumentClassificationReqLangEnum

func GetDocumentClassificationReqLangEnum() DocumentClassificationReqLangEnum

type DomainNamedEntity

type DomainNamedEntity struct {
	Word string `json:"word"`

	Tag string `json:"tag"`

	Offset int32 `json:"offset"`

	Len int32 `json:"len"`
}

命名实体类

func (DomainNamedEntity) String

func (o DomainNamedEntity) String() string

type DomainSentimentReq

type DomainSentimentReq struct {
	Content string `json:"content"`

	Type *DomainSentimentReqType `json:"type,omitempty"`
}

请求消息

func (DomainSentimentReq) String

func (o DomainSentimentReq) String() string

type DomainSentimentReqType

type DomainSentimentReqType struct {
	// contains filtered or unexported fields
}

func (DomainSentimentReqType) MarshalJSON

func (c DomainSentimentReqType) MarshalJSON() ([]byte, error)

func (*DomainSentimentReqType) UnmarshalJSON

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

type DomainSentimentReqTypeEnum

type DomainSentimentReqTypeEnum struct {
	E_0 DomainSentimentReqType
	E_1 DomainSentimentReqType
	E_2 DomainSentimentReqType
}

func GetDomainSentimentReqTypeEnum

func GetDomainSentimentReqTypeEnum() DomainSentimentReqTypeEnum

type EntitySentimentReq

type EntitySentimentReq struct {
	Content string `json:"content"`

	Entity string `json:"entity"`

	Type int32 `json:"type"`
}

func (EntitySentimentReq) String

func (o EntitySentimentReq) String() string

type EventExtractionResponseItem

type EventExtractionResponseItem struct {
	Argument []EventExtractionResponseItemArgument `json:"argument"`

	EventTrigger string `json:"event_trigger"`

	EventType *string `json:"event_type,omitempty"`

	TriggerSpan []int32 `json:"trigger_span"`
}

events数据结构

func (EventExtractionResponseItem) String

type EventExtractionResponseItemArgument

type EventExtractionResponseItemArgument struct {
	Role string `json:"role"`

	Span []int32 `json:"span"`

	Word string `json:"word"`
}

事件元素

func (EventExtractionResponseItemArgument) String

type FileTranslationReq

type FileTranslationReq struct {
	Url string `json:"url"`

	From FileTranslationReqFrom `json:"from"`

	To FileTranslationReqTo `json:"to"`

	Type FileTranslationReqType `json:"type"`
}

This is a auto create Body Object

func (FileTranslationReq) String

func (o FileTranslationReq) String() string

type FileTranslationReqFrom

type FileTranslationReqFrom struct {
	// contains filtered or unexported fields
}

func (FileTranslationReqFrom) MarshalJSON

func (c FileTranslationReqFrom) MarshalJSON() ([]byte, error)

func (*FileTranslationReqFrom) UnmarshalJSON

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

type FileTranslationReqFromEnum

type FileTranslationReqFromEnum struct {
	ZH FileTranslationReqFrom
	EN FileTranslationReqFrom
}

func GetFileTranslationReqFromEnum

func GetFileTranslationReqFromEnum() FileTranslationReqFromEnum

type FileTranslationReqTo

type FileTranslationReqTo struct {
	// contains filtered or unexported fields
}

func (FileTranslationReqTo) MarshalJSON

func (c FileTranslationReqTo) MarshalJSON() ([]byte, error)

func (*FileTranslationReqTo) UnmarshalJSON

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

type FileTranslationReqToEnum

type FileTranslationReqToEnum struct {
	ZH FileTranslationReqTo
	EN FileTranslationReqTo
}

func GetFileTranslationReqToEnum

func GetFileTranslationReqToEnum() FileTranslationReqToEnum

type FileTranslationReqType

type FileTranslationReqType struct {
	// contains filtered or unexported fields
}

func (FileTranslationReqType) MarshalJSON

func (c FileTranslationReqType) MarshalJSON() ([]byte, error)

func (*FileTranslationReqType) UnmarshalJSON

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

type FileTranslationReqTypeEnum

type FileTranslationReqTypeEnum struct {
	DOCX FileTranslationReqType
	PPTX FileTranslationReqType
	TXT  FileTranslationReqType
}

func GetFileTranslationReqTypeEnum

func GetFileTranslationReqTypeEnum() FileTranslationReqTypeEnum

type HwCloudSentimentReq

type HwCloudSentimentReq struct {
	Content string `json:"content"`

	Lang *HwCloudSentimentReqLang `json:"lang,omitempty"`
}

func (HwCloudSentimentReq) String

func (o HwCloudSentimentReq) String() string

type HwCloudSentimentReqLang

type HwCloudSentimentReqLang struct {
	// contains filtered or unexported fields
}

func (HwCloudSentimentReqLang) MarshalJSON

func (c HwCloudSentimentReqLang) MarshalJSON() ([]byte, error)

func (*HwCloudSentimentReqLang) UnmarshalJSON

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

type HwCloudSentimentReqLangEnum

type HwCloudSentimentReqLangEnum struct {
	EN HwCloudSentimentReqLang
	ZH HwCloudSentimentReqLang
}

func GetHwCloudSentimentReqLangEnum

func GetHwCloudSentimentReqLangEnum() HwCloudSentimentReqLangEnum

type HwCloudSentimentResp

type HwCloudSentimentResp struct {
	Label int32 `json:"label"`

	Confidence float32 `json:"confidence"`

	Content string `json:"content"`
}

result字段数据结构说明

func (HwCloudSentimentResp) String

func (o HwCloudSentimentResp) String() string

type IntentReq

type IntentReq struct {
	Lang *IntentReqLang `json:"lang,omitempty"`

	Text string `json:"text"`
}

func (IntentReq) String

func (o IntentReq) String() string

type IntentReqLang

type IntentReqLang struct {
	// contains filtered or unexported fields
}

func (IntentReqLang) MarshalJSON

func (c IntentReqLang) MarshalJSON() ([]byte, error)

func (*IntentReqLang) UnmarshalJSON

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

type IntentReqLangEnum

type IntentReqLangEnum struct {
	ZH IntentReqLang
}

func GetIntentReqLangEnum

func GetIntentReqLangEnum() IntentReqLangEnum

type IntentResult

type IntentResult struct {
	Confidence float32 `json:"confidence"`

	Label string `json:"label"`

	Slots []Slot `json:"slots"`

	Text string `json:"text"`
}

func (IntentResult) String

func (o IntentResult) String() string

type KeywordExtractReq

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

	Limit *int32 `json:"limit,omitempty"`

	Lang *KeywordExtractReqLang `json:"lang,omitempty"`
}

This is a auto create Body Object

func (KeywordExtractReq) String

func (o KeywordExtractReq) String() string

type KeywordExtractReqLang

type KeywordExtractReqLang struct {
	// contains filtered or unexported fields
}

func (KeywordExtractReqLang) MarshalJSON

func (c KeywordExtractReqLang) MarshalJSON() ([]byte, error)

func (*KeywordExtractReqLang) UnmarshalJSON

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

type KeywordExtractReqLangEnum

type KeywordExtractReqLangEnum struct {
	ZH KeywordExtractReqLang
}

func GetKeywordExtractReqLangEnum

func GetKeywordExtractReqLangEnum() KeywordExtractReqLangEnum

type LanguageDetectionReq

type LanguageDetectionReq struct {
	Text string `json:"text"`
}

This is a auto create Body Object

func (LanguageDetectionReq) String

func (o LanguageDetectionReq) String() string

type LinkedEntity

type LinkedEntity struct {
	Mention string `json:"mention"`

	Offset int32 `json:"offset"`

	EntityTitle string `json:"entity_title"`
}

链接的实体 类

func (LinkedEntity) String

func (o LinkedEntity) String() string

type NamedEntity

type NamedEntity struct {
	Word string `json:"word"`

	Tag string `json:"tag"`

	Offset int32 `json:"offset"`

	Len int32 `json:"len"`
}

命名实体。

func (NamedEntity) String

func (o NamedEntity) String() string

type NerRequest

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

	Lang *NerRequestLang `json:"lang,omitempty"`
}

命名实体识别post请求体

func (NerRequest) String

func (o NerRequest) String() string

type NerRequestLang

type NerRequestLang struct {
	// contains filtered or unexported fields
}

func (NerRequestLang) MarshalJSON

func (c NerRequestLang) MarshalJSON() ([]byte, error)

func (*NerRequestLang) UnmarshalJSON

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

type NerRequestLangEnum

type NerRequestLangEnum struct {
	ZH NerRequestLang
	EN NerRequestLang
	ES NerRequestLang
}

func GetNerRequestLangEnum

func GetNerRequestLangEnum() NerRequestLangEnum

type PostDomainNerRequest

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

	Lang *PostDomainNerRequestLang `json:"lang,omitempty"`

	Domain *PostDomainNerRequestDomain `json:"domain,omitempty"`
}

命名实体识别post请求体

func (PostDomainNerRequest) String

func (o PostDomainNerRequest) String() string

type PostDomainNerRequestDomain

type PostDomainNerRequestDomain struct {
	// contains filtered or unexported fields
}

func (PostDomainNerRequestDomain) MarshalJSON

func (c PostDomainNerRequestDomain) MarshalJSON() ([]byte, error)

func (*PostDomainNerRequestDomain) UnmarshalJSON

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

type PostDomainNerRequestDomainEnum

type PostDomainNerRequestDomainEnum struct {
	GENERAL       PostDomainNerRequestDomain
	BUSINESS      PostDomainNerRequestDomain
	ENTERTAINMENT PostDomainNerRequestDomain
}

func GetPostDomainNerRequestDomainEnum

func GetPostDomainNerRequestDomainEnum() PostDomainNerRequestDomainEnum

type PostDomainNerRequestLang

type PostDomainNerRequestLang struct {
	// contains filtered or unexported fields
}

func (PostDomainNerRequestLang) MarshalJSON

func (c PostDomainNerRequestLang) MarshalJSON() ([]byte, error)

func (*PostDomainNerRequestLang) UnmarshalJSON

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

type PostDomainNerRequestLangEnum

type PostDomainNerRequestLangEnum struct {
	ZH PostDomainNerRequestLang
}

func GetPostDomainNerRequestLangEnum

func GetPostDomainNerRequestLangEnum() PostDomainNerRequestLangEnum

type PostEntityLinkingRequest

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

	Lang *PostEntityLinkingRequestLang `json:"lang,omitempty"`
}

实体链接post请求体

func (PostEntityLinkingRequest) String

func (o PostEntityLinkingRequest) String() string

type PostEntityLinkingRequestLang

type PostEntityLinkingRequestLang struct {
	// contains filtered or unexported fields
}

func (PostEntityLinkingRequestLang) MarshalJSON

func (c PostEntityLinkingRequestLang) MarshalJSON() ([]byte, error)

func (*PostEntityLinkingRequestLang) UnmarshalJSON

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

type PostEntityLinkingRequestLangEnum

type PostEntityLinkingRequestLangEnum struct {
	ZH PostEntityLinkingRequestLang
}

func GetPostEntityLinkingRequestLangEnum

func GetPostEntityLinkingRequestLangEnum() PostEntityLinkingRequestLangEnum

type PostEventExtractionReq

type PostEventExtractionReq struct {
	Text string `json:"text"`
}

This is a auto create Body Object

func (PostEventExtractionReq) String

func (o PostEventExtractionReq) String() string

type PostMultiGainedSegmentResponseItem

type PostMultiGainedSegmentResponseItem struct {
	Content string `json:"content"`

	Type PostMultiGainedSegmentResponseItemType `json:"type"`

	SubContents *[]PostMultiGainedSegmentResponseItemCopy `json:"sub_contents,omitempty"`
}

多粒度分词结果中的词汇节点

func (PostMultiGainedSegmentResponseItem) String

type PostMultiGainedSegmentResponseItemCopy

type PostMultiGainedSegmentResponseItemCopy struct {
	Content string `json:"content"`

	Type PostMultiGainedSegmentResponseItemCopyType `json:"type"`

	SubContents *[]PostMultiGainedSegmentResponseItem `json:"sub_contents,omitempty"`
}

多粒度分词结果中的词汇节点

func (PostMultiGainedSegmentResponseItemCopy) String

type PostMultiGainedSegmentResponseItemCopyType

type PostMultiGainedSegmentResponseItemCopyType struct {
	// contains filtered or unexported fields
}

func (PostMultiGainedSegmentResponseItemCopyType) MarshalJSON

func (*PostMultiGainedSegmentResponseItemCopyType) UnmarshalJSON

type PostMultiGainedSegmentResponseItemType

type PostMultiGainedSegmentResponseItemType struct {
	// contains filtered or unexported fields
}

func (PostMultiGainedSegmentResponseItemType) MarshalJSON

func (c PostMultiGainedSegmentResponseItemType) MarshalJSON() ([]byte, error)

func (*PostMultiGainedSegmentResponseItemType) UnmarshalJSON

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

type PostMultiGainedSegmentResponseItemTypeEnum

type PostMultiGainedSegmentResponseItemTypeEnum struct {
	WORD PostMultiGainedSegmentResponseItemType
	CHAR PostMultiGainedSegmentResponseItemType
}

func GetPostMultiGainedSegmentResponseItemTypeEnum

func GetPostMultiGainedSegmentResponseItemTypeEnum() PostMultiGainedSegmentResponseItemTypeEnum

type PostMultiGrainedSegmentReq

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

	Lang *PostMultiGrainedSegmentReqLang `json:"lang,omitempty"`

	Granularity *PostMultiGrainedSegmentReqGranularity `json:"granularity,omitempty"`
}

This is a auto create Body Object

func (PostMultiGrainedSegmentReq) String

type PostMultiGrainedSegmentReqGranularity

type PostMultiGrainedSegmentReqGranularity struct {
	// contains filtered or unexported fields
}

func (PostMultiGrainedSegmentReqGranularity) MarshalJSON

func (c PostMultiGrainedSegmentReqGranularity) MarshalJSON() ([]byte, error)

func (*PostMultiGrainedSegmentReqGranularity) UnmarshalJSON

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

type PostMultiGrainedSegmentReqLang

type PostMultiGrainedSegmentReqLang struct {
	// contains filtered or unexported fields
}

func (PostMultiGrainedSegmentReqLang) MarshalJSON

func (c PostMultiGrainedSegmentReqLang) MarshalJSON() ([]byte, error)

func (*PostMultiGrainedSegmentReqLang) UnmarshalJSON

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

type PostMultiGrainedSegmentReqLangEnum

type PostMultiGrainedSegmentReqLangEnum struct {
	ZH PostMultiGrainedSegmentReqLang
}

func GetPostMultiGrainedSegmentReqLangEnum

func GetPostMultiGrainedSegmentReqLangEnum() PostMultiGrainedSegmentReqLangEnum

type PostSentenceEmbeddingReq

type PostSentenceEmbeddingReq struct {
	Sentences []string `json:"sentences"`

	Domain *PostSentenceEmbeddingReqDomain `json:"domain,omitempty"`
}

命名实体识别post请求体

func (PostSentenceEmbeddingReq) String

func (o PostSentenceEmbeddingReq) String() string

type PostSentenceEmbeddingReqDomain

type PostSentenceEmbeddingReqDomain struct {
	// contains filtered or unexported fields
}

func (PostSentenceEmbeddingReqDomain) MarshalJSON

func (c PostSentenceEmbeddingReqDomain) MarshalJSON() ([]byte, error)

func (*PostSentenceEmbeddingReqDomain) UnmarshalJSON

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

type PostSentenceEmbeddingReqDomainEnum

type PostSentenceEmbeddingReqDomainEnum struct {
	GENERAL PostSentenceEmbeddingReqDomain
}

func GetPostSentenceEmbeddingReqDomainEnum

func GetPostSentenceEmbeddingReqDomainEnum() PostSentenceEmbeddingReqDomainEnum

type RunAspectSentimentAdvanceRequest

type RunAspectSentimentAdvanceRequest struct {
	Body *AspectSentimentAdvanceRequest `json:"body,omitempty"`
}

Request Object

func (RunAspectSentimentAdvanceRequest) String

type RunAspectSentimentAdvanceResponse

type RunAspectSentimentAdvanceResponse struct {
	Content *string `json:"content,omitempty"`

	Label *int32 `json:"label,omitempty"`

	Confidence *float32 `json:"confidence,omitempty"`

	AspectOpinions *[]AspectAdvanceOpinion `json:"aspect_opinions,omitempty"`

	ErrorCode *string `json:"error_code,omitempty"`

	ErrorMsg       *string `json:"error_msg,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (RunAspectSentimentAdvanceResponse) String

type RunAspectSentimentRequest

type RunAspectSentimentRequest struct {
	Body *AspectSentimentRequest `json:"body,omitempty"`
}

Request Object

func (RunAspectSentimentRequest) String

func (o RunAspectSentimentRequest) String() string

type RunAspectSentimentResponse

type RunAspectSentimentResponse struct {
	Text *string `json:"text,omitempty"`

	Label *int32 `json:"label,omitempty"`

	Confidence *float32 `json:"confidence,omitempty"`

	AspectOpinions *[]AspectOpinion `json:"aspect_opinions,omitempty"`

	ErrorCode *string `json:"error_code,omitempty"`

	ErrorMsg       *string `json:"error_msg,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (RunAspectSentimentResponse) String

type RunClassificationRequest

type RunClassificationRequest struct {
	Body *ClassificationReq `json:"body,omitempty"`
}

Request Object

func (RunClassificationRequest) String

func (o RunClassificationRequest) String() string

type RunClassificationResponse

type RunClassificationResponse struct {
	Result *ClassificationResult `json:"result,omitempty"`

	ErrorCode *string `json:"error_code,omitempty"`

	ErrorMsg       *string `json:"error_msg,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (RunClassificationResponse) String

func (o RunClassificationResponse) String() string

type RunDependencyParserRequest

type RunDependencyParserRequest struct {
	Body *DependencyParserRequest `json:"body,omitempty"`
}

Request Object

func (RunDependencyParserRequest) String

type RunDependencyParserResponse

type RunDependencyParserResponse struct {
	Words *[]DependencyParserWord `json:"words,omitempty"`

	ErrorCode *string `json:"error_code,omitempty"`

	ErrorMsg       *string `json:"error_msg,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (RunDependencyParserResponse) String

type RunDocClassificationRequest

type RunDocClassificationRequest struct {
	Body *DocumentClassificationReq `json:"body,omitempty"`
}

Request Object

func (RunDocClassificationRequest) String

type RunDocClassificationResponse

type RunDocClassificationResponse struct {
	Result *interface{} `json:"result,omitempty"`

	ErrorCode *string `json:"error_code,omitempty"`

	ErrorMsg       *string `json:"error_msg,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (RunDocClassificationResponse) String

type RunDomainSentimentRequest

type RunDomainSentimentRequest struct {
	Body *DomainSentimentReq `json:"body,omitempty"`
}

Request Object

func (RunDomainSentimentRequest) String

func (o RunDomainSentimentRequest) String() string

type RunDomainSentimentResponse

type RunDomainSentimentResponse struct {
	Result *HwCloudSentimentResp `json:"result,omitempty"`

	ErrorCode *string `json:"error_code,omitempty"`

	ErrorMsg       *string `json:"error_msg,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (RunDomainSentimentResponse) String

type RunEntityLinkingRequest

type RunEntityLinkingRequest struct {
	Body *PostEntityLinkingRequest `json:"body,omitempty"`
}

Request Object

func (RunEntityLinkingRequest) String

func (o RunEntityLinkingRequest) String() string

type RunEntityLinkingResponse

type RunEntityLinkingResponse struct {
	Entities       *[]LinkedEntity `json:"entities,omitempty"`
	HttpStatusCode int             `json:"-"`
}

Response Object

func (RunEntityLinkingResponse) String

func (o RunEntityLinkingResponse) String() string

type RunEntitySentimentRequest

type RunEntitySentimentRequest struct {
	Body *EntitySentimentReq `json:"body,omitempty"`
}

Request Object

func (RunEntitySentimentRequest) String

func (o RunEntitySentimentRequest) String() string

type RunEntitySentimentResponse

type RunEntitySentimentResponse struct {
	Content *string `json:"content,omitempty"`

	Entity *string `json:"entity,omitempty"`

	Label *int32 `json:"label,omitempty"`

	Confidence *float64 `json:"confidence,omitempty"`

	ErrorCode *string `json:"error_code,omitempty"`

	ErrorMsg       *string `json:"error_msg,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (RunEntitySentimentResponse) String

type RunEventExtractionRequest

type RunEventExtractionRequest struct {
	Body *PostEventExtractionReq `json:"body,omitempty"`
}

Request Object

func (RunEventExtractionRequest) String

func (o RunEventExtractionRequest) String() string

type RunEventExtractionResponse

type RunEventExtractionResponse struct {
	Events *[]EventExtractionResponseItem `json:"events,omitempty"`

	ErrorCode *string `json:"error_code,omitempty"`

	ErrorMsg       *string `json:"error_msg,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (RunEventExtractionResponse) String

type RunFileTranslationRequest

type RunFileTranslationRequest struct {
	Body *FileTranslationReq `json:"body,omitempty"`
}

Request Object

func (RunFileTranslationRequest) String

func (o RunFileTranslationRequest) String() string

type RunFileTranslationResponse

type RunFileTranslationResponse struct {
	JobId *string `json:"job_id,omitempty"`

	ErrorCode *string `json:"error_code,omitempty"`

	ErrorMsg       *string `json:"error_msg,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (RunFileTranslationResponse) String

type RunGetFileTranslationResultRequest

type RunGetFileTranslationResultRequest struct {
	JobId string `json:"job_id"`
}

Request Object

func (RunGetFileTranslationResultRequest) String

type RunGetFileTranslationResultResponse

type RunGetFileTranslationResultResponse struct {
	Status *string `json:"status,omitempty"`

	Url *string `json:"url,omitempty"`

	ErrorCode *string `json:"error_code,omitempty"`

	ErrorMsg       *string `json:"error_msg,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (RunGetFileTranslationResultResponse) String

type RunKeywordExtractRequest

type RunKeywordExtractRequest struct {
	Body *KeywordExtractReq `json:"body,omitempty"`
}

Request Object

func (RunKeywordExtractRequest) String

func (o RunKeywordExtractRequest) String() string

type RunKeywordExtractResponse

type RunKeywordExtractResponse struct {
	Words *[]string `json:"words,omitempty"`

	ErrorCode *string `json:"error_code,omitempty"`

	ErrorMsg       *string `json:"error_msg,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (RunKeywordExtractResponse) String

func (o RunKeywordExtractResponse) String() string

type RunLanguageDetectionRequest

type RunLanguageDetectionRequest struct {
	Body *LanguageDetectionReq `json:"body,omitempty"`
}

Request Object

func (RunLanguageDetectionRequest) String

type RunLanguageDetectionResponse

type RunLanguageDetectionResponse struct {
	DetectedLanguage *string `json:"detected_language,omitempty"`

	ErrorCode *string `json:"error_code,omitempty"`

	ErrorMsg       *string `json:"error_msg,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (RunLanguageDetectionResponse) String

type RunMultiGrainedSegmentRequest

type RunMultiGrainedSegmentRequest struct {
	Body *PostMultiGrainedSegmentReq `json:"body,omitempty"`
}

Request Object

func (RunMultiGrainedSegmentRequest) String

type RunMultiGrainedSegmentResponse

type RunMultiGrainedSegmentResponse struct {
	Result *[]PostMultiGainedSegmentResponseItem `json:"result,omitempty"`

	ErrorCode *string `json:"error_code,omitempty"`

	ErrorMsg       *string `json:"error_msg,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (RunMultiGrainedSegmentResponse) String

type RunNerDomainRequest

type RunNerDomainRequest struct {
	Body *PostDomainNerRequest `json:"body,omitempty"`
}

Request Object

func (RunNerDomainRequest) String

func (o RunNerDomainRequest) String() string

type RunNerDomainResponse

type RunNerDomainResponse struct {
	NamedEntities *[]DomainNamedEntity `json:"named_entities,omitempty"`

	ErrorCode *string `json:"error_code,omitempty"`

	ErrorMsg       *string `json:"error_msg,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (RunNerDomainResponse) String

func (o RunNerDomainResponse) String() string

type RunNerRequest

type RunNerRequest struct {
	Body *NerRequest `json:"body,omitempty"`
}

Request Object

func (RunNerRequest) String

func (o RunNerRequest) String() string

type RunNerResponse

type RunNerResponse struct {
	NamedEntities *[]NamedEntity `json:"named_entities,omitempty"`

	ErrorCode *string `json:"error_code,omitempty"`

	ErrorMsg       *string `json:"error_msg,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (RunNerResponse) String

func (o RunNerResponse) String() string

type RunPoemRequest

type RunPoemRequest struct {
	Body *CreatePoem `json:"body,omitempty"`
}

Request Object

func (RunPoemRequest) String

func (o RunPoemRequest) String() string

type RunPoemResponse

type RunPoemResponse struct {
	Poem *[]string `json:"poem,omitempty"`

	ErrorCode *string `json:"error_code,omitempty"`

	ErrorMsg       *string `json:"error_msg,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (RunPoemResponse) String

func (o RunPoemResponse) String() string

type RunSegmentRequest

type RunSegmentRequest struct {
	Body *SegmentRequest `json:"body,omitempty"`
}

Request Object

func (RunSegmentRequest) String

func (o RunSegmentRequest) String() string

type RunSegmentResponse

type RunSegmentResponse struct {
	Words *[]Word `json:"words,omitempty"`

	ErrorCode *string `json:"error_code,omitempty"`

	ErrorMsg       *string `json:"error_msg,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (RunSegmentResponse) String

func (o RunSegmentResponse) String() string

type RunSemanticParserRequest

type RunSemanticParserRequest struct {
	Body *IntentReq `json:"body,omitempty"`
}

Request Object

func (RunSemanticParserRequest) String

func (o RunSemanticParserRequest) String() string

type RunSemanticParserResponse

type RunSemanticParserResponse struct {
	Result *IntentResult `json:"result,omitempty"`

	ErrorCode *string `json:"error_code,omitempty"`

	ErrorMsg       *string `json:"error_msg,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (RunSemanticParserResponse) String

func (o RunSemanticParserResponse) String() string

type RunSentenceEmbeddingRequest

type RunSentenceEmbeddingRequest struct {
	Body *PostSentenceEmbeddingReq `json:"body,omitempty"`
}

Request Object

func (RunSentenceEmbeddingRequest) String

type RunSentenceEmbeddingResponse

type RunSentenceEmbeddingResponse struct {
	Vectors *[][]float32 `json:"vectors,omitempty"`

	ErrorCode *string `json:"error_code,omitempty"`

	ErrorMsg       *string `json:"error_msg,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (RunSentenceEmbeddingResponse) String

type RunSentimentRequest

type RunSentimentRequest struct {
	Body *HwCloudSentimentReq `json:"body,omitempty"`
}

Request Object

func (RunSentimentRequest) String

func (o RunSentimentRequest) String() string

type RunSentimentResponse

type RunSentimentResponse struct {
	Result *HwCloudSentimentResp `json:"result,omitempty"`

	ErrorCode *string `json:"error_code,omitempty"`

	ErrorMsg       *string `json:"error_msg,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (RunSentimentResponse) String

func (o RunSentimentResponse) String() string

type RunSummaryDomainRequest

type RunSummaryDomainRequest struct {
	Body *SummaryDomainReq `json:"body,omitempty"`
}

Request Object

func (RunSummaryDomainRequest) String

func (o RunSummaryDomainRequest) String() string

type RunSummaryDomainResponse

type RunSummaryDomainResponse struct {
	Summary *string `json:"summary,omitempty"`

	ErrorCode *string `json:"error_code,omitempty"`

	ErrorMsg       *string `json:"error_msg,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (RunSummaryDomainResponse) String

func (o RunSummaryDomainResponse) String() string

type RunSummaryRequest

type RunSummaryRequest struct {
	Body *SummaryReq `json:"body,omitempty"`
}

Request Object

func (RunSummaryRequest) String

func (o RunSummaryRequest) String() string

type RunSummaryResponse

type RunSummaryResponse struct {
	Summary *string `json:"summary,omitempty"`

	ErrorCode *string `json:"error_code,omitempty"`

	ErrorMsg       *string `json:"error_msg,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (RunSummaryResponse) String

func (o RunSummaryResponse) String() string

type RunTextSimilarityAdvanceRequest

type RunTextSimilarityAdvanceRequest struct {
	Body *TextSimilarityAdvanceRequest `json:"body,omitempty"`
}

Request Object

func (RunTextSimilarityAdvanceRequest) String

type RunTextSimilarityAdvanceResponse

type RunTextSimilarityAdvanceResponse struct {
	Similarity *float32 `json:"similarity,omitempty"`

	ErrorCode *string `json:"error_code,omitempty"`

	ErrorMsg       *string `json:"error_msg,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (RunTextSimilarityAdvanceResponse) String

type RunTextSimilarityRequest

type RunTextSimilarityRequest struct {
	Body *TextSimilarityRequest `json:"body,omitempty"`
}

Request Object

func (RunTextSimilarityRequest) String

func (o RunTextSimilarityRequest) String() string

type RunTextSimilarityResponse

type RunTextSimilarityResponse struct {
	Similarity *float32 `json:"similarity,omitempty"`

	ErrorCode *string `json:"error_code,omitempty"`

	ErrorMsg       *string `json:"error_msg,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (RunTextSimilarityResponse) String

func (o RunTextSimilarityResponse) String() string

type RunTextTranslationRequest

type RunTextTranslationRequest struct {
	Body *TextTranslationReq `json:"body,omitempty"`
}

Request Object

func (RunTextTranslationRequest) String

func (o RunTextTranslationRequest) String() string

type RunTextTranslationResponse

type RunTextTranslationResponse struct {
	SrcText *string `json:"src_text,omitempty"`

	TranslatedText *string `json:"translated_text,omitempty"`

	ErrorCode *string `json:"error_code,omitempty"`

	ErrorMsg       *string `json:"error_msg,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (RunTextTranslationResponse) String

type SegmentRequest

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

	PosSwitch *SegmentRequestPosSwitch `json:"pos_switch,omitempty"`

	Lang *SegmentRequestLang `json:"lang,omitempty"`

	Criterion *SegmentRequestCriterion `json:"criterion,omitempty"`
}

分词post请求体

func (SegmentRequest) String

func (o SegmentRequest) String() string

type SegmentRequestCriterion

type SegmentRequestCriterion struct {
	// contains filtered or unexported fields
}

func (SegmentRequestCriterion) MarshalJSON

func (c SegmentRequestCriterion) MarshalJSON() ([]byte, error)

func (*SegmentRequestCriterion) UnmarshalJSON

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

type SegmentRequestCriterionEnum

type SegmentRequestCriterionEnum struct {
	PKU SegmentRequestCriterion
	CTB SegmentRequestCriterion
}

func GetSegmentRequestCriterionEnum

func GetSegmentRequestCriterionEnum() SegmentRequestCriterionEnum

type SegmentRequestLang

type SegmentRequestLang struct {
	// contains filtered or unexported fields
}

func (SegmentRequestLang) MarshalJSON

func (c SegmentRequestLang) MarshalJSON() ([]byte, error)

func (*SegmentRequestLang) UnmarshalJSON

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

type SegmentRequestLangEnum

type SegmentRequestLangEnum struct {
	ZH SegmentRequestLang
	EN SegmentRequestLang
}

func GetSegmentRequestLangEnum

func GetSegmentRequestLangEnum() SegmentRequestLangEnum

type SegmentRequestPosSwitch

type SegmentRequestPosSwitch struct {
	// contains filtered or unexported fields
}

func (SegmentRequestPosSwitch) MarshalJSON

func (c SegmentRequestPosSwitch) MarshalJSON() ([]byte, error)

func (*SegmentRequestPosSwitch) UnmarshalJSON

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

type SegmentRequestPosSwitchEnum

type SegmentRequestPosSwitchEnum struct {
	E_0 SegmentRequestPosSwitch
	E_1 SegmentRequestPosSwitch
}

func GetSegmentRequestPosSwitchEnum

func GetSegmentRequestPosSwitchEnum() SegmentRequestPosSwitchEnum

type Slot

type Slot struct {
	Word string `json:"word"`

	Tag string `json:"tag"`

	Offset int32 `json:"offset"`

	Length int32 `json:"length"`

	NormalizedWord string `json:"normalized_word"`
}

func (Slot) String

func (o Slot) String() string

type SummaryDomainReq

type SummaryDomainReq struct {
	LengthLimit *float32 `json:"length_limit,omitempty"`

	Title *string `json:"title,omitempty"`

	Lang *SummaryDomainReqLang `json:"lang,omitempty"`

	Content string `json:"content"`

	Type *SummaryDomainReqType `json:"type,omitempty"`
}

This is a auto create Body Object

func (SummaryDomainReq) String

func (o SummaryDomainReq) String() string

type SummaryDomainReqLang

type SummaryDomainReqLang struct {
	// contains filtered or unexported fields
}

func (SummaryDomainReqLang) MarshalJSON

func (c SummaryDomainReqLang) MarshalJSON() ([]byte, error)

func (*SummaryDomainReqLang) UnmarshalJSON

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

type SummaryDomainReqLangEnum

type SummaryDomainReqLangEnum struct {
	ZH SummaryDomainReqLang
}

func GetSummaryDomainReqLangEnum

func GetSummaryDomainReqLangEnum() SummaryDomainReqLangEnum

type SummaryDomainReqType

type SummaryDomainReqType struct {
	// contains filtered or unexported fields
}

func (SummaryDomainReqType) MarshalJSON

func (c SummaryDomainReqType) MarshalJSON() ([]byte, error)

func (*SummaryDomainReqType) UnmarshalJSON

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

type SummaryDomainReqTypeEnum

type SummaryDomainReqTypeEnum struct {
	E_0 SummaryDomainReqType
}

func GetSummaryDomainReqTypeEnum

func GetSummaryDomainReqTypeEnum() SummaryDomainReqTypeEnum

type SummaryReq

type SummaryReq struct {
	Content string `json:"content"`

	Lang *SummaryReqLang `json:"lang,omitempty"`

	LengthLimit *float32 `json:"length_limit,omitempty"`

	Title *string `json:"title,omitempty"`
}

func (SummaryReq) String

func (o SummaryReq) String() string

type SummaryReqLang

type SummaryReqLang struct {
	// contains filtered or unexported fields
}

func (SummaryReqLang) MarshalJSON

func (c SummaryReqLang) MarshalJSON() ([]byte, error)

func (*SummaryReqLang) UnmarshalJSON

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

type SummaryReqLangEnum

type SummaryReqLangEnum struct {
	ZH SummaryReqLang
	EN SummaryReqLang
}

func GetSummaryReqLangEnum

func GetSummaryReqLangEnum() SummaryReqLangEnum

type TextSimilarityAdvanceRequest

type TextSimilarityAdvanceRequest struct {
	Text1 string `json:"text1"`

	Text2 string `json:"text2"`

	Lang *TextSimilarityAdvanceRequestLang `json:"lang,omitempty"`
}

文本相似度请求体

func (TextSimilarityAdvanceRequest) String

type TextSimilarityAdvanceRequestLang

type TextSimilarityAdvanceRequestLang struct {
	// contains filtered or unexported fields
}

func (TextSimilarityAdvanceRequestLang) MarshalJSON

func (c TextSimilarityAdvanceRequestLang) MarshalJSON() ([]byte, error)

func (*TextSimilarityAdvanceRequestLang) UnmarshalJSON

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

type TextSimilarityAdvanceRequestLangEnum

type TextSimilarityAdvanceRequestLangEnum struct {
	ZH TextSimilarityAdvanceRequestLang
}

func GetTextSimilarityAdvanceRequestLangEnum

func GetTextSimilarityAdvanceRequestLangEnum() TextSimilarityAdvanceRequestLangEnum

type TextSimilarityRequest

type TextSimilarityRequest struct {
	Text1 string `json:"text1"`

	Text2 string `json:"text2"`

	Lang *TextSimilarityRequestLang `json:"lang,omitempty"`
}

文本相似度请求体

func (TextSimilarityRequest) String

func (o TextSimilarityRequest) String() string

type TextSimilarityRequestLang

type TextSimilarityRequestLang struct {
	// contains filtered or unexported fields
}

func (TextSimilarityRequestLang) MarshalJSON

func (c TextSimilarityRequestLang) MarshalJSON() ([]byte, error)

func (*TextSimilarityRequestLang) UnmarshalJSON

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

type TextSimilarityRequestLangEnum

type TextSimilarityRequestLangEnum struct {
	ZH TextSimilarityRequestLang
	EN TextSimilarityRequestLang
}

func GetTextSimilarityRequestLangEnum

func GetTextSimilarityRequestLangEnum() TextSimilarityRequestLangEnum

type TextTranslationReq

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

	From TextTranslationReqFrom `json:"from"`

	To TextTranslationReqTo `json:"to"`

	Scene *TextTranslationReqScene `json:"scene,omitempty"`
}

This is a auto create Body Object

func (TextTranslationReq) String

func (o TextTranslationReq) String() string

type TextTranslationReqFrom

type TextTranslationReqFrom struct {
	// contains filtered or unexported fields
}

func (TextTranslationReqFrom) MarshalJSON

func (c TextTranslationReqFrom) MarshalJSON() ([]byte, error)

func (*TextTranslationReqFrom) UnmarshalJSON

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

type TextTranslationReqScene

type TextTranslationReqScene struct {
	// contains filtered or unexported fields
}

func (TextTranslationReqScene) MarshalJSON

func (c TextTranslationReqScene) MarshalJSON() ([]byte, error)

func (*TextTranslationReqScene) UnmarshalJSON

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

type TextTranslationReqSceneEnum

type TextTranslationReqSceneEnum struct {
	COMMON TextTranslationReqScene
}

func GetTextTranslationReqSceneEnum

func GetTextTranslationReqSceneEnum() TextTranslationReqSceneEnum

type TextTranslationReqTo

type TextTranslationReqTo struct {
	// contains filtered or unexported fields
}

func (TextTranslationReqTo) MarshalJSON

func (c TextTranslationReqTo) MarshalJSON() ([]byte, error)

func (*TextTranslationReqTo) UnmarshalJSON

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

type Word

type Word struct {
	Content string `json:"content"`

	Pos string `json:"pos"`
}

词汇类

func (Word) String

func (o Word) String() string

Source Files

Jump to

Keyboard shortcuts

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