Repository navigation
Can we get a find / find+replace function with ctrl+F and ctrl+H? #156
NicholasDufresne
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
This isn't too much different than the workflow I've been using, but splitting chapters could be easier than the way I do it.
My typical workflow:
copy + paste into notepad++
ctrl+a (highlight all), edit-> convert case to -> lowercase
ctrl+h (search and replace): get rid of underscores, replace colons with periods (usually), look through and change words that I know kokoro will struggle with
ctrl+f (find) "chapter": convert roman numerals 'chapter XI' to 'chapter 11', etc.
scroll and put periods where I know there should be pauses.
manually change some line breaks for kokoro pacing/pausing.
(sometimes) copy and paste everything to https://www.textfixer.com/tools/remove-line-breaks.php and (usually) "remove some line breaks.
then my script looks like this. I keep 1 cell as a template and use the "create a duplicate of this cell below" button, uncomment the voice I want to use, change the .wav file name, change speed, paste the text, and restart kernel + run all cells.
then I just listen to my file and make changes.
All reactions