Skip to main content

Melt subtitles to learn English

Project description

Melt subtitles(融化字幕)



Meltsubtitles take the subtitles *.srt in and spill out new subtitles in which the English words that you already know will be removed and it will provide the meaning of the words you don't know.

1. 词库假定是你认识的单词
2. 将字幕里在词库中的单词去掉,
3. 通过查询有道网页得到生词的释义
4. 将释义加入到新的字幕文件中,
5. done




0. 安装python 2.7.9 以上,推荐[python 3.5](
1. pip install -r requirements.txt
2. python

如果指定单词库,单词库在文件夹wordsRepo, 加上"-w wordsRepo/文件", 默认使用5000的。

如果指定文件夹,命令行加上"--path 文件夹"

或者对多个字幕转换 python *.srt

如果希望是英文释义,在命令行加上 "-e"

如果是二刷,在命令行加上 "-2"


To do
1. [x] 英文释义选择

2. [x] 批量转换

3. [ ] 可以放到一个网页,使用的人可以不用安装python,只需上传下载。
4. [ ] 可以用map函数式的思想减少for的使用
5. [ ] 如果有人需要,可以打包成exe,这样就不用安装Python。
5. [ ] 如果有需要,可以将生词导出到一个文件中,用于以后记忆,或者导入查词软件,比如有道的单词本里,用于自己日后复习。

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

meltsubtitles-1.3.0.linux-x86_64.tar.gz (85.6 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page