FS#11913 - Move TTS correction expressions out of into a separate file

Attached to Project: Rockbox
Opened by Dominik Riebeling (bluebrother) - Saturday, 29 January 2011, 18:47 GMT
Last edited by Dominik Riebeling (bluebrother) - Sunday, 23 September 2012, 19:37 GMT
Task Type Patches
Category Utils
Status Closed
Assigned To Dominik Riebeling (bluebrother)
Operating System All players
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


The attached patch moves the TTS correction expressions into a separate file tools/voice-corrections.txt and adjusts 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 are done in a sensible way.
This task depends upon

Closed by  Dominik Riebeling (bluebrother)
Sunday, 23 September 2012, 19:37 GMT
Reason for closing:  Accepted
Additional comments about closing:  Has been accepted over a year ago -- r29500.
Comment by Dominik Riebeling (bluebrother) - Friday, 04 February 2011, 23:06 GMT
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.