Page MenuHomePhabricator

Enable synthesising messages
Closed, ResolvedPublic1 Estimated Story Points

Description

This should extend UtteranceStore::createUtterance to accept a message key instead of page id and segment. Possibly page id can be used with a faux value to signify that an utterance is not tied to a certain page.

The interaction with Speechoid is currently done in ApiWikispeechListen. We may want to move this to UtteranceStore or maybe a new class.

Outbreak: 1138958

Event Timeline

Sebastian_Berlin-WMSE renamed this task from Synthesis messages to Allow synthesising messages.Feb 26 2025, 10:40 AM
Sebastian_Berlin-WMSE renamed this task from Allow synthesising messages to Enable synthesising messages.
Lokal_Profil set the point value for this task to 40.Mar 19 2025, 11:03 AM

This will serve as an introduction to @Viktoria_Hillerud_WMSE of the underlying infrastructure

I think it would be best to break out the logic that deals with creating/fetching utterances from ApiWikispeechListen to a new class. UtteranceStore should just handle storage, not generation, of utterances. That new class can then be used both by ApiWikispeechListen and any internal utterance generation, such as what we want to do here.

Change #1130076 had a related patch set uploaded (by Viktoria Hillerud WMSE; author: Viktoria Hillerud WMSE):

[mediawiki/extensions/Wikispeech@master] Enables synthesizing error message

https://gerrit.wikimedia.org/r/1130076

Viktoria_Hillerud_WMSE changed the point value for this task from 40 to 10.Apr 2 2025, 8:48 AM

Could you break out the changes in patchset 2 into a separate patch? That would make it easier to review and I could use the same change when working on T387739.

Change #1138958 had a related patch set uploaded (by Viktoria Hillerud WMSE; author: Viktoria Hillerud WMSE):

[mediawiki/extensions/Wikispeech@master] Extracted changes from patchset 2 Related to: T387280

https://gerrit.wikimedia.org/r/1138958

Could you break out the changes in patchset 2 into a separate patch? That would make it easier to review and I could use the same change when working on T387739.

Yes, here it is:
1138958

Viktoria_Hillerud_WMSE changed the point value for this task from 10 to 16.

Change #1138958 had a related patch set uploaded (by Viktoria Hillerud WMSE; author: Viktoria Hillerud WMSE):

[mediawiki/extensions/Wikispeech@master] Breakout of non-api logic: UtteranceGenerator and InputTextValidator

https://gerrit.wikimedia.org/r/1138958

Change #1138958 merged by jenkins-bot:

[mediawiki/extensions/Wikispeech@master] Breakout of non-api logic: UtteranceGenerator and InputTextValidator

https://gerrit.wikimedia.org/r/1138958

Viktoria_Hillerud_WMSE changed the point value for this task from 16 to 8.May 14 2025, 8:58 AM
Viktoria_Hillerud_WMSE changed the point value for this task from 8 to 4.May 28 2025, 8:39 AM
Viktoria_Hillerud_WMSE changed the point value for this task from 4 to 1.Jun 11 2025, 8:42 AM

Change #1130076 merged by jenkins-bot:

[mediawiki/extensions/Wikispeech@master] Enable synthesizing error message

https://gerrit.wikimedia.org/r/1130076