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

feita há 2 meses78 visualizações
1 Resposta
0
Resposta aceita

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
respondido há 2 meses

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas