\TencentAI\TestsTranslateTest

Summary

Methods
Properties
Constants
ai()
testAILabText()
testText()
testImage()
testAudio()
testDetect()
tearDown()
No public properties found
IMAGE
OUTPUT
No protected methods found
No protected properties found
N/A
translate()
$ai
$name
$array
N/A

Constants

IMAGE

IMAGE = __DIR__ . '/../resource/translate/english.jpg'

OUTPUT

OUTPUT = __DIR__ . '/../output/translate/'

Properties

$ai

$ai : \TencentAI\TencentAI

Type

\TencentAI\TencentAI

$name

$name : 

Type

$array

$array : 

Type

Methods

ai()

ai() 

testAILabText()

testAILabText() 

文本翻译 AILAB.

Throws

\TencentAI\Error\TencentAIError

testText()

testText() 

文本翻译 翻译君.

Throws

\TencentAI\Error\TencentAIError

testImage()

testImage() 

图片翻译.

Throws

\TencentAI\Error\TencentAIError

testAudio()

testAudio() 

语音翻译.

Throws

\TencentAI\Error\TencentAIError

testDetect()

testDetect() 

语种识别.

Throws

\TencentAI\Error\TencentAIError

tearDown()

tearDown() 

translate()

translate()