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.
Click to show internal directories.
Click to hide internal directories.