Log in

View Full Version : @Gabest, few suggestions for subresync


kxy
23rd May 2002, 17:36
Currently I use vobsub to rip the subtitle, then I use subresync to convert it to srt.

Couple questions/suggestions if your todo list is not too high. Is it possible to save the character matrix file to a file not to memory, like the way subrip does(so I can pull the particular character if I mess up when needed), that way I don't have to reset the whole thing and start over. Also allow the user to edit txt/srt directly from the subresync, currently we can view it, but can't edit it.

Will you support more friendly OCR correction?

Here are some ideas that I think it might be useful...

1. Apply "text replacements" (user-configurable) similar to find and replace(ctrl+h)
2. Replace "`" or "´" with "'"
3. Put " " after every "." and every ","
3a. Remove " " before ".", "!" and "?"
4. Improve Englich spelling, fix typical OCR errors.
- change words: "l" -> "I"
"l'v" -> "I'v"
"l've" -> "I've"
"l'am" -> "I'am"
"l'm" -> "I'm"
"l'll" -> "I'll"
- change "l" to "I" if it's on start of the sentence
- change "I" to "l" if it's in the middle of the word, but not for abbreviations

Call for user intervention for (ambiguous) lines that include:
- "[" without "]"
- "]" without "["

Note: Some ideas came from SubtitleFix program, I take no credit for such a thorough thought process.

gabest
24th May 2002, 06:31
There are a few things already being done:

" ," -> ","
" ." -> "."
"''" -> "\""

"-l ", "l'm", "l'd ", "l'll", "l've", "lt's",
"l ", "ln ", "ls ", "lt ", "lf " -> "I.. "

"Y ou" -> "You"
1. Apply "text replacements" (user-configurable) similar to find and replace(ctrl+h)Interesting idea, though it could be done using any other editor :P
2. Replace "`" or "´" with "'" I don't understand this. This would be needed if the recognition were not 100% correct and similiar characters were being mixed up, but in the case of subresync all of them are user inputted.3. Put " " after every "." and every ","
3a. Remove " " before ".", "!" and "?"Ok, not very compatible with right-to-left reading languages, but there were already a few of these implemented anyway...- change "l" to "I" if it's on start of the sentence
- change "I" to "l" if it's in the middle of the word, but not for abbreviations Ok.Call for user intervention for (ambiguous) lines that include:
...Again, [ and ] can't be mixed up with anything because of the reason in my answer to no.2 :) Or did you mean something else now?

kxy
24th May 2002, 23:44
Originally posted by gabest
There are a few things already being done:

" ," -> ","
" ." -> "."
"''" -> "\""

"-l ", "l'm", "l'd ", "l'll", "l've", "lt's",
"l ", "ln ", "ls ", "lt ", "lf " -> "I.. "

Are they implemented in subresync already, or they are in development? I didn't see the options in subresync available.


Again, [ and ] can't be mixed up with anything because of the reason in my answer to no.2 :) Or did you mean something else now? [/B]

The reason I request that is currently there is a lack of fixing the ocr error base on the user's input. Subrip has a way you can go back to your matrix chacter file to see the ocr and user's input and allow the user manually fix them or deleted them. That is what I am trying to point out. Again this goes back to what I said in the first post, which is support for more friendly OCR correction... "Is it possible to save the character matrix file to a file not to memory, like the way subrip does(so I can pull the particular character if I mess up when needed), that way I don't have to reset the whole thing and start over. Also allow the user to edit txt/srt directly from the subresync, currently we can view it, but can't edit it."]