@azure-rest/ai-translation-text package
インターフェイス
型エイリアス
| FindSentenceBoundariesParameters | |
| GetSupportedLanguagesParameters | |
| LanguageDirectionalityOutput |
言語の方向性 |
| LookupDictionaryEntriesParameters | |
| LookupDictionaryExamplesParameters | |
| ProfanityAction |
Translator の不適切な表現のアクション |
| ProfanityMarker |
翻訳ツールの不適切な表現マーカー |
| TextTranslationClient | |
| TextType |
TextType のエイリアス |
| TranslateParameters | |
| TransliterateParameters | |
関数
関数の詳細
buildMultiCollection(string[], string)
function buildMultiCollection(items: string[], parameterName: string): string
パラメーター
- items
-
string[]
- parameterName
-
string
戻り値
string
default(TranslatorCredential | TranslatorTokenCredential | TokenCredential | KeyCredential, ClientOptions)
TextTranslationClient の新しいインスタンスを初期化する
function default(credential: TranslatorCredential | TranslatorTokenCredential | TokenCredential | KeyCredential, options?: ClientOptions): TextTranslationClient
パラメーター
- credential
-
TranslatorCredential | TranslatorTokenCredential | TokenCredential | KeyCredential
type: TranslatorCredential |TranslatorTokenCredential |KeyCredential |TokenCredential:サービスの認証に使用される資格情報。
- options
- ClientOptions
type: ClientOptions、すべての省略可能なパラメーターのパラメーター
戻り値
default(string, ClientOptions)
TextTranslationClient の新しいインスタンスを初期化する
function default(endpoint: string, options?: ClientOptions): TextTranslationClient
パラメーター
- endpoint
-
string
type: string、サポートされているテキスト変換エンドポイント (プロトコルとホスト名、例: https://api.cognitive.microsofttranslator.com)。
- options
- ClientOptions
type: ClientOptions、すべての省略可能なパラメーターのパラメーター
戻り値
default(string, TranslatorCredential | TranslatorTokenCredential | TokenCredential | KeyCredential, ClientOptions)
TextTranslationClient の新しいインスタンスを初期化する
function default(endpoint: string, credential: TranslatorCredential | TranslatorTokenCredential | TokenCredential | KeyCredential, options?: ClientOptions): TextTranslationClient
パラメーター
- endpoint
-
string
type: string、サポートされているテキスト変換エンドポイント (プロトコルとホスト名、例: https://api.cognitive.microsofttranslator.com)。
- credential
-
TranslatorCredential | TranslatorTokenCredential | TokenCredential | KeyCredential
type: TranslatorCredential |TranslatorTokenCredential |KeyCredential |TokenCredential:サービスの認証に使用される資格情報。
- options
- ClientOptions
type: ClientOptions、すべての省略可能なパラメーターのパラメーター
戻り値
isUnexpected(GetSupportedLanguages200Response | GetSupportedLanguagesDefaultResponse)
function isUnexpected(response: GetSupportedLanguages200Response | GetSupportedLanguagesDefaultResponse): response
パラメーター
戻り値
response
isUnexpected(Translate200Response | TranslateDefaultResponse)
function isUnexpected(response: Translate200Response | TranslateDefaultResponse): response
パラメーター
- response
戻り値
response
isUnexpected(Transliterate200Response | TransliterateDefaultResponse)
function isUnexpected(response: Transliterate200Response | TransliterateDefaultResponse): response
パラメーター
戻り値
response
isUnexpected(FindSentenceBoundaries200Response | FindSentenceBoundariesDefaultResponse)
function isUnexpected(response: FindSentenceBoundaries200Response | FindSentenceBoundariesDefaultResponse): response
パラメーター
戻り値
response
isUnexpected(LookupDictionaryEntries200Response | LookupDictionaryEntriesDefaultResponse)
function isUnexpected(response: LookupDictionaryEntries200Response | LookupDictionaryEntriesDefaultResponse): response
パラメーター
戻り値
response
isUnexpected(LookupDictionaryExamples200Response | LookupDictionaryExamplesDefaultResponse)
function isUnexpected(response: LookupDictionaryExamples200Response | LookupDictionaryExamplesDefaultResponse): response
パラメーター
戻り値
response