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

preguntada hace 2 meses78 visualizaciones
1 Respuesta
0
Respuesta aceptada

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 hace 2 meses

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas