translatortextapi

package
v43.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TranslatorClientAPI

type TranslatorClientAPI interface {
	BreakSentence(ctx context.Context, textParameter []translatortext.BreakSentenceTextInput, language string, script string, xClientTraceID string) (result translatortext.ListBreakSentenceResultItem, err error)
	Detect(ctx context.Context, textParameter []translatortext.DetectTextInput, xClientTraceID string) (result translatortext.ListDetectResultItem, err error)
	DictionaryExamples(ctx context.Context, from string, toParameter string, textParameter []translatortext.DictionaryExampleTextInput, xClientTraceID string) (result translatortext.ListDictionaryExampleResultItem, err error)
	DictionaryLookup(ctx context.Context, from string, toParameter string, textParameter []translatortext.DictionaryLookupTextInput, xClientTraceID string) (result translatortext.ListDictionaryLookupResultItem, err error)
	Languages(ctx context.Context, scope []string, acceptLanguage string, xClientTraceID string) (result translatortext.LanguagesResult, err error)
	Translate(ctx context.Context, toParameter []string, textParameter []translatortext.TranslateTextInput, from string, textType string, category string, profanityAction string, profanityMarker string, includeAlignment *bool, includeSentenceLength *bool, suggestedFrom string, fromScript string, toScript []string, xClientTraceID string) (result translatortext.ListTranslateResultAllItem, err error)
	Transliterate(ctx context.Context, language string, fromScript string, toScript string, texts []translatortext.TransliterateTextInput, xClientTraceID string) (result translatortext.ListTransliterateResultItem, err error)
}

TranslatorClientAPI contains the set of methods on the TranslatorClient type.

Jump to

Keyboard shortcuts

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