daisy / daisy/pipeline-modules

Split up long sentences to avoid errors from Google Cloud TTS

Open
#103 1 comment 0 reactions 0 assignees View on GitHub
acus enhancement
Dominant language
HTML
Stars
4
Forks
6
PR merge metrics
No merged PRs in 30d

Description

Occasionally, Google Cloud TTS returns the following error:

> Some sentences generate audio that is too long. Consider splitting up long sentences with sentence breaking punctuation (e.g. periods), and/or removing SSML <break> tags.

Since sentence detection is currently done based on ".", it could indeed happen that sentences are very long, e.g. if they contain a lot of commas, colons and/or semicolons.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.