\TencentAI\ModuleTranslate

Summary

Methods
Properties
Constants
No public methods found
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
checkAILabTextType()
checkTextTarget()
checkImageTarget()
checkDetectType()
$text_array
$image_array
$detect_array
N/A

Properties

$text_array

$text_array : 

Type

$image_array

$image_array : 

Type

$detect_array

$detect_array : 

Type

Methods

checkAILabTextType()

checkAILabTextType(integer  $type) 

Parameters

integer $type

Throws

\TencentAI\Error\TencentAIError

checkTextTarget()

checkTextTarget(  $source,   $target) 

检查文本翻译(翻译君)源语言与目标语言

Parameters

$source
$target

Throws

\TencentAI\Error\TencentAIError

checkImageTarget()

checkImageTarget(  $source,   $target) 

检查图片翻译源语言与目标语言

Parameters

$source
$target

Throws

\TencentAI\Error\TencentAIError

checkDetectType()

checkDetectType(  $language) 

语种识别待选类型检查.

Parameters

$language

Throws

\TencentAI\Error\TencentAIError