Hi.
I have some .srt subtitles that has spaces between the words more than enough.
Like this
Is there any program or any method that can clear all that kind of spaces mostly at greek language(and not at english) that do all that automatically and NOT manual word by word?4
00:00:58,168 --> 00:01:00,673
The ho use at ri sing of the s un is n ear
5
00:01:02,488 --> 00:01:06,209
Wh ere did y ou go?
6
00:01:06,347 --> 00:01:09,484
I h ope you are in y our time and do n't late
A LOT OF THANKS.
+ Reply to Thread
Results 1 to 8 of 8
-
-
Any decent text editor (TextPad, EditPlus, NoteTab, whatever) can do batch-replacement/deletion of characters.
However I doubt that any of them is "good-enough" at spell-checking (especially when the language is not English), so I fear some corrections will still have to be done manually.Last edited by El Heggunte; 6th Feb 2013 at 04:43. Reason: aaaargh
-
You can "somewhat" automate this if you notice a pattern. In your example I see "y our" is misspelled more than once. In that case you can use notepad's "find and replace" function to automate the replacement of the correct spelling. You what to find "y o" and replace it with "yo". You will have to account for any misspelled words after though, haha.
-
I know how i can do it MANUALLY but this is not that i want.
I want to know if i can do that AUTOMATICALLY NOT MANUALLY.... -
No. This task is much harder than you realize. This is not the best example, but it's all I can think of. Such a program would have to be smart enough to understand if you really meant to say
car pet
or if you meant to say
carpet
You're getting into artificial intelligence issues here. This is a very difficult job. -
Yeah, that would require the machine to be able to guess what you were intending...
You can always open the file up in MS Word and use their F&R tool. Works really well and includes ability to work with spaces and other "non-character" characters. Just make sure you save as unformatted TXT (if you put quotes around the whole filename+extension while saving, it will retain its original extension).
For example: Find = <space><space>, Replace=<space> will get rid of extra spaces. (Be sure to run through multiple times until it doesn't find any more)
But you still have to manually choose how it is to operate...
Scott -
you could, of course write a F&R macro in Word to change many words in one go, but it still wouldn't be fully automated.
check out my Find and replace Word-macro to correct the "I" in any text file, so also an .SRT file:
Selection.Find.ClearFormatting
Selection.Find.Replacement.ClearFormatting
With Selection.Find
.Text = " i "
.Replacement.Text = " I "
.Forward = True
.Wrap = wdFindContinue
.Format = False
.MatchCase = True
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
End With
Selection.Find.Execute Replace:=wdReplaceAll
With Selection.Find
.Text = " i'"
.Replacement.Text = " I'"
.Forward = True
.Wrap = wdFindContinue
.Format = False
.MatchCase = True
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
End With
Selection.Find.Execute Replace:=wdReplaceAll
With Selection.Find
.Text = " i^p"
.Replacement.Text = " I^p"
.Forward = True
.Wrap = wdFindContinue
.Format = False
.MatchCase = True
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
End With
Selection.Find.Execute Replace:=wdReplaceAll
With Selection.Find
.Text = "^pi "
.Replacement.Text = "^pI "
.Forward = True
.Wrap = wdFindContinue
.Format = False
.MatchCase = True
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
End With
Selection.Find.Execute Replace:=wdReplaceAll
With Selection.Find
.Text = "^pi'"
.Replacement.Text = "^pI'"
.Forward = True
.Wrap = wdFindContinue
.Format = False
.MatchCase = True
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
End With
Selection.Find.Execute Replace:=wdReplaceAll
End SubLast edited by KneeRow; 7th Feb 2013 at 18:36.
Looking for subtitles of: Höök tt0997023, Lime tt0269480, La clé sur la porte tt0077348. tt=iMDb.com Found Desideria tt0081724 subtitle! :-)
Similar Threads
-
Spaces between syllables in karaoke subtitles
By Headof$ecurity in forum SubtitleReplies: 0Last Post: 10th Oct 2011, 18:36 -
Is there a way to remove subtitles?
By Onceler2 in forum SubtitleReplies: 2Last Post: 9th Dec 2009, 13:05 -
Remove SubTitles
By fredb38 in forum SubtitleReplies: 1Last Post: 14th Aug 2009, 17:55 -
how to remove subtitles?
By KittyLuck in forum SubtitleReplies: 1Last Post: 18th Jan 2009, 03:46 -
How to remove empty subtitles?
By Ruxo in forum SubtitleReplies: 2Last Post: 28th Jun 2008, 22:35