Example of how to get better line splitting with lyric punctuation #327
Replies: 1 comment
-
This was the prompt I used: Faster-Whisper-XXL.exe --model=large-v2 --language=en --output_dir "T:\new\MUSIC\changerrecent\Destroy Boys\2024 - Funeral Soundtrack #4" --output_format srt --vad_filter True --max_line_count 1 --max_line_width 20 --ff_mdx_kim2 --highlight_words False --beep_off --check_files --sentence --verbose True --vad_filter=True --vad_threshold=0.1 --vad_min_speech_duration_ms=150 --vad_min_silence_duration_ms=200 --vad_max_speech_duration_s 5 --vad_speech_pad_ms=198 --vad_dump --best_of 5 --max_comma_cent 70 --max_gap 2.0 --initial_prompt "1All I ask for is respect. I don't get it from the state and I don't get it from men. You take up spaces that aren't yours. Because of history, on whose side? Oh right, it's always yours. And I just want, yeah I just want. Not to be needed. Not to looked at with the menace and the thought of breathing. And it's alright, let's step outside. And you can feel my breath. Its your demise. Get spit upon and learn the reasons why. Why can't I walk in the street, without men bothering me? Why does he poison my heart, control my life from afar? I'm sick of being sad when I'm alone. I'm sick of being scared on my walk home. I'm sick of being trapped by what you impose. You hear yes, when I say no. One step out of line, and I'm done! Medieval punishment for saying I won't make you cum. Mosquito, an evil, you suck out all my blood. I'll crush you like the bug you are underneath my thumb. Wants to get rid of me, 'cause he's afraid. Sickened by thoughts of me taking his place. Refuse to back down in the eye of your hate. I'll push you right back, from whence you came. (I developed a second sense) (I'm a survivor looking at the light) Pointless ammunition. Shameless exhibition. This serves the patriarchal condition. When they don't stop when you say stop. When they stand too close on the sidewalk. My clothes don't have pockets. And I'm forced to want it. Complain about a condom. I hate and love you, it's Stockholm. Not your pretty girl, I never will be. Don't look me up and down like I'm a piece of meat. I see how you degrade with no shame. So hear me when I say." "10_You Hear Yes.flac" |
Beta Was this translation helpful? Give feedback.
-
Lyrics are typically posted on sites with little to no punctuation.
They don't usually bother with periods, only exclamation marks and question marks
This can be an issue when converting a song's lyrics into a text prompt to improve transcription accuracy.
Whisper won't have a good idea where to split the lines.
Initially, I adding a "," to every line of lyrics, because that was more grammatically correct.
But in transcribing singing, this ends up with commas in the middle of lines, subtitles that technically spread across 2 lyric lines.
I changed this to adding a "." to the end of every line. MUCH better results.
Top = new/good/with periods
Bottom = oldbad/with commas
I'm actually going to write a postprocessor to strip the periods out anyway, but they are good to be in temporarily. Just look at how the subtitles no longer span two lines of lyrics on the top half.
Of course, some people would prefer the bottom way anyway!
All a matter of personal preference
Beta Was this translation helpful? Give feedback.
All reactions