Find and learn the difficult English words in your subtitles!
Wanna watch English movies but you are struggling with difficult words that you don't understand? Use EngSub to learn required words before watching a movie! There are just 3 steps:
- Connect to Internet
- Download the srt subtitles of your movies. you can check yifysub for English subtitles.
- Download requirements:
pip install -r requirements.txt
- Run
DifficultFinder.py
with 4 arugements Subtitles directory,en_50k_2.txt
path, ourput path, difficulty (between 0 to 10)
Example:
python DifficultFinder.py dataset/ en_50k_2.txt output.txt 7
Your output should be with this format:
[Word] [Difficulty]
Meaning: [Cambridge Dictionary Link]
[Part of Speach1]
[Meaning1]
[Meaning2]
...
For example, this is a small chunk of the output.txt
file:
The most used words in movies of 2018 file (en_50k_2.txt
) is obtained from this repository