Comprehend.detectDominantLanguage text length & Confidence

0

Hello,

How long should be a correct text so that AWS SDK Comprehend.detectDominantLanguage to surely detect its language (minimum number of words) ?

The use case is the detected text fragments from travel pictures. How is Comprehend language detection influenced by the fact that some words from picture, and thus from phrase, might not be correctly extracted ? Will Comprehend guess the misspelled words, or ignore them ?

The answer should lead to a pre-process of the text, so that only high chances text to be sent to Comprehend. How should input text be pre-processed (classified) considering the detection Confidence from Rekognition ? Which is the average Rekognition.Confidence of words for a whole text, so that to be successfully detected by Comprehend.detectDominantLanguage ?

Thank you,
Mihai

  • Hello,

    Regarding the last question (Which is the average Rekognition.Confidence of words for a whole text, so that to be successfully detected by Comprehend.detectDominantLanguage ?), I think a better (practical) one could be :

    Which is the minimum length and Confidence of a Rekognition.LINE from an image, so that its language to be successfully detected by Comprehend.detectDominantLanguage ?

    Sorry for the vagueness of questions and thank you,
    Mihai

asked 8 months ago174 views
1 Answer
0
Accepted Answer

The API's minimum requirement for a request is 20 characters. https://docs.aws.amazon.com/comprehend/latest/APIReference/API_DetectDominantLanguage.html

For questions about accuracy and integration with other services (Amazon Rekognition), please cut a ticket to be investigated with the necessary resources.

AWS
answered 7 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions