The app gets your sutitle.srt and proccess it to extract sentences

This app gets your sutitle.srt and proccess it to extract sentences, and also find Start time and End time of them.

Step 1: install this packages using “PIP”

  1. googletrans (Translate)
  2. arabic_reshaper (Text correction)
  3. bidi.algorithm (Text correction)
  4. tkinter (GUI)

Step 2: run SubtitleProccess.py


Input:

put srt file in src folder

name should be “subtitle” => subtitle.srt


Output:

displaying sentences with order and structure

Sentence is :

.ﻝﺎﮕﻧﻮﮔ ﮏﻣ ﺭﻮﺴﻓﻭﺮﭘ ،ﺩﻮﺑ ﺪﯿﻫﺍﻮﺧ ﺎﺠﻨﯾﺍ ﺎﻤﺷ ﻪﮐ ﻢﺘﺴﻧﺍﺩ ﯽﻣ ﺪﯾﺎﺑ ﻦﻣ

Start Time is :

00:01:21.000915

End Time is :

00:01:26.000960
Sentence is :

3 .ﺭﻭﺪﻠﺒﻣﺍﺩ ﺭﻮﺴﻓﻭﺮﭘ ﺮﯿﺨﺑ ﺮﺼﻋ

Start Time is :

 

 

 

To finish reading, please visit source site