diff --git a/script.py b/script.py index db238dd..e9576f8 100644 --- a/script.py +++ b/script.py @@ -508,8 +508,10 @@ def output_modifier(string, state): .replace('"', '"<') # Capture new conversations which wont have things like "e in them .replace('"', '"<') - ) + #capturing another outlier in inital character paragraph + processed_string = processed_string.replace('"<. *', '"< *"') + processed_string = processed_string.replace('< *"', '< *') # Set up a tracking of the individual wav files. audio_files_all_paragraphs = [] # Split the line using " and ".* " (so end of sentences, leaving special characters added to the start of all OTHER sentences, bar possibly the first one if its starting with a *