Comprehend Entities language

0

Hello,

In Java AWS SDK is there mandatory the language parameter when Comprehend.getEntities is invoked ?
If language is not specified, will Comprehend.Entities detect the language, or which will be the behaviour ?

Thank you,
Mihai ADAM

질문됨 2달 전84회 조회
1개 답변
0
수락된 답변

Language must be specified when using the pretrained model.

aws comprehend detect-entities --text "hello"

An error occurred (ValidationException) when calling the DetectEntities operation: Value 'null' at 'languageCode'failed to satisfy constraint: Member must satisfy enum value set: [ar, hi, ko, zh-TW, zh, ja, en, de, it, fr, pt, es]

If using your own custom model, the language will be detected from the custom model.

AWS
답변함 2달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠