Page MenuHomePhabricator

Wikispeech should accept SSML input with empty phoneme element text node
Open, LowPublic

Description

Wikispeech should accept SSML input with empty phoneme element text node. (According to W3C:s specifications, the text node is optional.)

(The problem is that MaryTTS does not accept the empty phoneme element.)

Example of valid phoneme element with empty text node: <phoneme alphabet="x-sampa" ph="' m V N . k i"></phoneme>

Testable URLs:

1. With "dummy" text element - working
https://wikispeech.morf.se/?input_type=ssml&lang=en&input=%3C?xml%20version=%221.0%22%20encoding=%22UTF-8%22%20standalone=%22no%22%20?%3E%3Cspeak%20version=%221.0%22%20xmlns=%22http://www.w3.org/2001/10/synthesis%22%20xmlns:xsi=%22http://www.w3.org/2001/XMLSchema-instance%22%20xsi:schemalocation=%22http://www.w3.org/2001/10/synthesis%20http://www.w3.org/TR/speech-synthesis/synthesis.xsd%22%20xml:lang=%22en-US%22%3E%20%3Cphoneme%20alphabet=%22x-sampa%22%20ph=%22%27%20m%20V%20N%20.%20k%20i%22%3Edummy%3C/phoneme%3E%20%3C/speak%3E

2. Without "dummy" text element - not working
https://wikispeech.morf.se/?input_type=ssml&lang=en&input=%3C?xml%20version=%221.0%22%20encoding=%22UTF-8%22%20standalone=%22no%22%20?%3E%3Cspeak%20version=%221.0%22%20xmlns=%22http://www.w3.org/2001/10/synthesis%22%20xmlns:xsi=%22http://www.w3.org/2001/XMLSchema-instance%22%20xsi:schemalocation=%22http://www.w3.org/2001/10/synthesis%20http://www.w3.org/TR/speech-synthesis/synthesis.xsd%22%20xml:lang=%22en-US%22%3E%20%3Cphoneme%20alphabet=%22x-sampa%22%20ph=%22%27%20m%20V%20N%20.%20k%20i%22%3E%3C/phoneme%3E%20%3C/speak%3E

Browser error message: 500 internal server error
Server error message: missing (nothing in wikispeech logs, nothing in marytts logs)

Event Timeline

HannaLindgren updated the task description. (Show Details)
HannaLindgren triaged this task as Low priority.Dec 13 2017, 1:09 PM
HannaLindgren updated the task description. (Show Details)
Aklapper removed HaraldBerthelsen as the assignee of this task.Jun 19 2020, 4:27 PM
Aklapper added subscribers: HaraldBerthelsen, Aklapper.

This task has been assigned to the same task owner for more than two years. Resetting task assignee due to inactivity, to decrease task cookie-licking and to get a slightly more realistic overview of plans. Please feel free to assign this task to yourself again if you still realistically work or plan to work on this task - it would be welcome!

For tips how to manage individual work in Phabricator (noisy notifications, lists of task, etc.), see https://phabricator.wikimedia.org/T228575#6237124 for available options.
(For the records, two emails were sent to assignee addresses before resetting assignees. See T228575 for more info and for potential feedback. Thanks!)

Restricted Application added a project: Wikispeech-Jobrunner. · View Herald TranscriptJun 19 2020, 4:27 PM