Skip to content

Conversation

@JochemKuipers
Copy link
Collaborator

No description provided.

Copy link
Member

@Stormheg Stormheg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JochemKuipers can we add tests for this functionality?

Long text should be split up in a predictable number of blocks. I see there is some logic which I suppose is trying to make the split occur at the sentence boundary. We should check this logic works properly with different inputs.

@robmoorman
Copy link
Contributor

I've seen some issues with this. As the markup text (ssml) is also split. So a tag like <say-as interpret-as="characters"> could be splitted. This makes the ssml invalid and an API error is thrown.

We need to have a look for a more bulletproof solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants