Skip to content
/ pairsubs Public

A simple tool that allows you to use the subtitles fom OpenSubtitles.org to practice the translation (speaking) skill while learning a foreign language

Notifications You must be signed in to change notification settings

zserg/pairsubs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pairsubs

This script allows you to dowload a pair of different language subtitles for a movie from opensubtitles.org. You can take a parallel text and practice you translation skill that will help you to learn a foreign language. All subtitles you've downloaded are stored on the disk and can be used later in the learning process.

Learning process

Alt text

Download subtitles

Alt text

List of subtitles

Alt text

Align the subtitles

Alt text

Requirements

python3

SRT processing library (https://github.com/cdown/srt)

urwid (Console user interface library)

Installation (virtualenv)

# clone repo
git clone https://github.com/zserg/pairsubs.git
cd pairsubs

# create virtual environment
virtualenv -p python3 venv
. venv/bin/activate
pip install -r requirements.txt

# run app
python pairsubs.py

Local subtitles database

The information about the all downloaded subtitles is stored in ~/.pairsubs/cache.json. The subtitles files are stored in ~/.pairsubs/files/ .

About

A simple tool that allows you to use the subtitles fom OpenSubtitles.org to practice the translation (speaking) skill while learning a foreign language

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages