...
1
2
3
4
5
6
7
8
9
10 package translatortext
11
12 import original "github.com/Azure/azure-sdk-for-go/services/cognitiveservices/v3.0/translatortext"
13
14 type BaseClient = original.BaseClient
15 type BreakSentenceResultItem = original.BreakSentenceResultItem
16 type BreakSentenceTextInput = original.BreakSentenceTextInput
17 type DetectResultItem = original.DetectResultItem
18 type DetectTextInput = original.DetectTextInput
19 type DictionaryExampleResultItem = original.DictionaryExampleResultItem
20 type DictionaryExampleResultItemExamplesItem = original.DictionaryExampleResultItemExamplesItem
21 type DictionaryExampleTextInput = original.DictionaryExampleTextInput
22 type DictionaryLookupResultItem = original.DictionaryLookupResultItem
23 type DictionaryLookupResultItemTranslationsItem = original.DictionaryLookupResultItemTranslationsItem
24 type DictionaryLookupResultItemTranslationsItemBackTranslationsItem = original.DictionaryLookupResultItemTranslationsItemBackTranslationsItem
25 type DictionaryLookupTextInput = original.DictionaryLookupTextInput
26 type ErrorMessage = original.ErrorMessage
27 type ErrorMessageError = original.ErrorMessageError
28 type LanguagesResult = original.LanguagesResult
29 type LanguagesResultDictionary = original.LanguagesResultDictionary
30 type LanguagesResultDictionaryLanguageCode = original.LanguagesResultDictionaryLanguageCode
31 type LanguagesResultDictionaryLanguageCodeTranslationsItem = original.LanguagesResultDictionaryLanguageCodeTranslationsItem
32 type LanguagesResultTranslation = original.LanguagesResultTranslation
33 type LanguagesResultTranslationLanguageCode = original.LanguagesResultTranslationLanguageCode
34 type LanguagesResultTransliteration = original.LanguagesResultTransliteration
35 type LanguagesResultTransliterationLanguageCode = original.LanguagesResultTransliterationLanguageCode
36 type LanguagesResultTransliterationLanguageCodeScriptsItem = original.LanguagesResultTransliterationLanguageCodeScriptsItem
37 type LanguagesResultTransliterationLanguageCodeScriptsItemToScriptsItem = original.LanguagesResultTransliterationLanguageCodeScriptsItemToScriptsItem
38 type ListBreakSentenceResultItem = original.ListBreakSentenceResultItem
39 type ListDetectResultItem = original.ListDetectResultItem
40 type ListDictionaryExampleResultItem = original.ListDictionaryExampleResultItem
41 type ListDictionaryLookupResultItem = original.ListDictionaryLookupResultItem
42 type ListTranslateResultAllItem = original.ListTranslateResultAllItem
43 type ListTransliterateResultItem = original.ListTransliterateResultItem
44 type TranslateResultAllItem = original.TranslateResultAllItem
45 type TranslateResultAllItemDetectedLanguage = original.TranslateResultAllItemDetectedLanguage
46 type TranslateResultAllItemTranslationsItem = original.TranslateResultAllItemTranslationsItem
47 type TranslateResultAllItemTranslationsItemAlignment = original.TranslateResultAllItemTranslationsItemAlignment
48 type TranslateResultAllItemTranslationsItemSentLen = original.TranslateResultAllItemTranslationsItemSentLen
49 type TranslateResultAllItemTranslationsItemSentLenSrcSentLenItem = original.TranslateResultAllItemTranslationsItemSentLenSrcSentLenItem
50 type TranslateResultAllItemTranslationsItemSentLenTransSentLenItem = original.TranslateResultAllItemTranslationsItemSentLenTransSentLenItem
51 type TranslateResultAllItemTranslationsItemTransliteration = original.TranslateResultAllItemTranslationsItemTransliteration
52 type TranslateResultItem = original.TranslateResultItem
53 type TranslateResultItemTranslationItem = original.TranslateResultItemTranslationItem
54 type TranslateTextInput = original.TranslateTextInput
55 type TranslatorClient = original.TranslatorClient
56 type TransliterateResultItem = original.TransliterateResultItem
57 type TransliterateTextInput = original.TransliterateTextInput
58
59 func New(endpoint string) BaseClient {
60 return original.New(endpoint)
61 }
62 func NewTranslatorClient(endpoint string) TranslatorClient {
63 return original.NewTranslatorClient(endpoint)
64 }
65 func NewWithoutDefaults(endpoint string) BaseClient {
66 return original.NewWithoutDefaults(endpoint)
67 }
68 func UserAgent() string {
69 return original.UserAgent() + " profiles/latest"
70 }
71 func Version() string {
72 return original.Version()
73 }
74
View as plain text