This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#11913 - Move TTS correction expressions out of voice.pl into a separate file
Attached to Project:
Rockbox
Opened by Dominik Riebeling (bluebrother) - Saturday, 29 January 2011, 19:47 GMT+2
Last edited by Dominik Riebeling (bluebrother) - Sunday, 23 September 2012, 21:37 GMT+2
Opened by Dominik Riebeling (bluebrother) - Saturday, 29 January 2011, 19:47 GMT+2
Last edited by Dominik Riebeling (bluebrother) - Sunday, 23 September 2012, 21:37 GMT+2
|
DetailsThe attached patch moves the TTS correction expressions into a separate file tools/voice-corrections.txt and adjusts voice.pl to use that. This will allow it to reuse the correction expressions from other programs as well with Rockbox Utility being an interesting candidate (I have a first version of Rockbox Utility using voice-corrections.txt working, but currently there is too much hard coded to create a useful patch from that).
Since I'm not too familiar with Perl I would appreciate comments if the changes made to voice.pl are done in a sensible way. |
This task depends upon
Closed by Dominik Riebeling (bluebrother)
Sunday, 23 September 2012, 21:37 GMT+2
Reason for closing: Accepted
Additional comments about closing: Has been accepted over a year ago -- r29500.
Sunday, 23 September 2012, 21:37 GMT+2
Reason for closing: Accepted
Additional comments about closing: Has been accepted over a year ago -- r29500.
This patch goes on top of the first one and uses voice-corrections.txt in Rockbox Utility. There are currently a couple of limitations (vendor will get ignored, only implemented for voicefile creation) but unless there are concerns about the approach of the initial patch I see this as potential first use implementation.