Giter Club home page Giter Club logo

subtitle_corrector's People

Stargazers

 avatar

Watchers

 avatar  avatar

subtitle_corrector's Issues

Undo operation

Allow a user the ability to undo operations performed on a file.

Space not removed

Describe the issue
Operation finds error but doesn't remove space before dash.

To Reproduce
Steps to reproduce the behavior:

  1. Go to add dashes to split lines lowercase
  2. Click on Start
  3. See error

Before operation

16
00:02:43,100 --> 00:02:47,473
"Vi har aldrig hört talas
om ert folk" -

17
00:02:47,540 --> 00:02:51,873
-"så vi är inte rädda för era hot."

Desired outcome

16
00:02:43,100 --> 00:02:47,473
"Vi har aldrig hört talas
om ert folk"-

17
00:02:47,540 --> 00:02:51,873
-"så vi är inte rädda för era hot."

Expected behavior
Expected space to be removed on line one.

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

Approve/Skip All

Add option to the application that allows a user to approve/skip all changes for the respective operation.

Ability to clean up unspaced hyphens

Description

Sometimes, some subtitles don't have a space after a hyphen. This feature request would add the ability to clean those up and add a space.

Example

-The quick brown fox jumped over the moon

to

- The quick brown fox jumped over the moon

Three line conversion

Operation Title
Three line conversion

Operation description
The operation should react when a time stamp contains three lines and convert them to two lines instead.
These two lines should aim to be equally long.

Spans more than one section
Don't know what this means...

Before operation

I have a blue dog
and he's so nice,
but one time he bit me.

Desired outcome

I have a blue dog and he's so 
nice, but one time he bit me.

Screenshots
If applicable, add screenshots to help explain the new operation.

Additional context
Add any other context about the operation here.

New button

Operation Title
Skip all files

Operation description
A button which is similiar to "Approve all files" button but instead it skips all files.

Spans more than one section
Don't know what this means...

Before operation

n/a

Desired outcome

n/a

Screenshots

Additional context

Capitalize improvement

Describe the issue
The script doesn't seem to react to mr, dr etc when it comes after < i > or "

To Reproduce
Steps to reproduce the behavior:

  1. Go to Capitalize section
  2. Click on Start
  3. Scroll down to Error
  4. See error

Before operation

357
00:36:31,224 --> 00:36:33,810
<i>Mr Presley och Mr. King...</i>

564
01:00:11,561 --> 01:00:13,354
<i>Mr Presley slutar rocka...</i>

1258
02:13:12,984 --> 02:13:18,489
- Jag är inte oförstående, Mr. Presley.
- Lägg av med "mr Presley", din padda!

650
01:09:15,729 --> 01:09:18,233
<i>Dr Martin Luther King-</i>

661
01:10:14,664 --> 01:10:19,168
<i>Dr King stod på balkongen
till sitt motellrum på andra våningen-</i>

1134
02:01:54,889 --> 02:01:59,102
<i>Dr Martin Luther King
har blivit skjuten i centrala Memphis...</i>

Desired outcome

357
00:36:31,224 --> 00:36:33,810
<i>Mr. Presley och Mr. King...</i>

564
01:00:11,561 --> 01:00:13,354
<i>Mr. Presley slutar rocka...</i>

1258
02:13:12,984 --> 02:13:18,489
- Jag är inte oförstående, Mr. Presley.
- Lägg av med "Mr. Presley", din padda!

650
01:09:15,729 --> 01:09:18,233
<i>Dr. Martin Luther King-</i>

661
01:10:14,664 --> 01:10:19,168
<i>Dr. King stod på balkongen
till sitt motellrum på andra våningen-</i>

1134
02:01:54,889 --> 02:01:59,102
<i>Dr. Martin Luther King
har blivit skjuten i centrala Memphis...</i>

Expected behavior
The script should capitalize and add a dot.

Screenshots

Additional context

Script doesn't react to dashes

Describe the issue
Script doesn't react and adds dash.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Add dashes script upper and lower case'
  2. Click on 'Start'
  3. Scroll down to 'Error?'
  4. See error

Before operation

154
00:11:07,901 --> 00:11:11,701
Det kan ske. Bukspottskörteln
förnyar sina celler en gång per dygn,-

155
00:11:11,736 --> 00:11:16,533
-för magsäcken tar det 3 dagar. Hela
kroppen, sju år. Men processen vacklar.



157
00:11:19,369 --> 00:11:23,800
Om en förändring i immunförsvaret
ledde till perfekt AVGIFTNING,-

158
00:11:23,801 --> 00:11:28,032
-PERFEKT förnyelse, så ja visst,
skulle han kunna undvika förfall.



687
00:48:46,200 --> 00:48:50,500
Det var på 1600-talet och jag träffade
en man och jag fick en känsla av att...-

688
00:48:51,000 --> 00:48:53,666
-han var som jag.
Så jag berättade för honom.



687
00:48:46,200 --> 00:48:50,500
Det var på 1600-talet och jag träffade
en man och jag fick en känsla av ATT...-

688
00:48:51,000 --> 00:48:53,666
-HAN var som jag.
Så jag berättade för honom.

Desired outcome

154
00:11:07,901 --> 00:11:11,701
Det kan ske. Bukspottskörteln
förnyar sina celler en gång per dygn-

155
00:11:11,736 --> 00:11:16,533
-för magsäcken tar det 3 dagar. Hela
kroppen, sju år. Men processen vacklar.



157
00:11:19,369 --> 00:11:23,800
Om en förändring i immunförsvaret
ledde till perfekt AVGIFTNING-

158
00:11:23,801 --> 00:11:28,032
-PERFEKT förnyelse, så ja visst,
skulle han kunna undvika förfall.



687
00:48:46,200 --> 00:48:50,500
Det var på 1600-talet och jag träffade
en man och jag fick en känsla av att-

688
00:48:51,000 --> 00:48:53,666
-han var som jag.
Så jag berättade för honom.



687
00:48:46,200 --> 00:48:50,500
Det var på 1600-talet och jag träffade
en man och jag fick en känsla av ATT-

688
00:48:51,000 --> 00:48:53,666
-HAN var som jag.
Så jag berättade för honom.

Expected behavior
Script should react and add dash.

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.