Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DTBook text-to-speech : pronounce abbreviation title when it exists #689

Open
NPavie opened this issue Jul 3, 2023 · 1 comment
Open

Comments

@NPavie
Copy link
Collaborator

NPavie commented Jul 3, 2023

Expected Behavior

For a given abbreviation in a dtbook XML, the expected corresponding audio sample should tell the content of the title attribute.

For example, an abbreviation structured as <abbr title="number">n°</abbr> should be pronunced "number".

Actual Behavior

The text to speech engine receives and tells the original text instead of the content of the title attribute.

Steps to Reproduce

Create a dtbook with a simple abbreviation tag.
Requests its conversion as daisy3 or epub3 with audio in the daisy pipeline 2.

Details

It was tested with SAPI / Onecore text to speech adapter.

In debug, the ssml received by the adapter before the "transform-ssml" tts specific phase was not keeping the abbreviation title content.

Environment

  • Operating system: Windows 10 64-bit
  • DAISY Pipeline 2 version: 1.14.14
  • Interface: Daisy pipeline App (2023)
@NPavie NPavie changed the title DTBook text-to-speech : pronounce abbreviation titles when it exists DTBook text-to-speech : pronounce abbreviation title when it exists Jul 3, 2023
@bertfrees
Copy link
Member

Should be fixed in the px:dtbook-to-ssml step, and more specifically in dtbook-semantic-transform.xsl.

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

No branches or pull requests

2 participants