My idea was to use the AWS Pollyfeed news to read aloud RSS. By this link, I understand that Polly is very flexible in terms of characters that need to be converted, as one example: "Adventures of Huckelberry Finn" by Mark Twain ~600k characters
The problem is that when I try to convert my articles to speech, I get the following error:
An error occurred (TextLengthExceededException) when calling the SynthesizeSpeech operation: Maximum text length has been exceeded
The text I was trying to convert was about 5,000 characters.
Is there a way (with or without the API) to convert long lines of text using Polly without having to cut them into millions of different parts?
Any tip in the right direction will be appreciated.
thank
source
share