{ "info": { "author": "Evan Lu", "author_email": "Evan_L00@qq.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Education", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Education" ], "description": "Melt subtitles(\u878d\u5316\u5b57\u5e55)\n====\n\n\u53ea\u7559\u5177\u6709\u751f\u8bcd\u7684\u5b57\u5e55\uff0c\u5e76\u7ed9\u51fa\u751f\u8bcd\u7684\u91ca\u4e49\uff0c[\u601d\u8def\u6765\u6e90](https://zhuanlan.zhihu.com/p/25854872)\n\n\u53ef\u4ee5\u9009\u62e9\u53ea\u4fdd\u7559\u751f\u8bcd\u548c\u91ca\u4e49\u3002\n\n\u751f\u8bcd\u662f\u662f\u6307\u8bcd\u5e93\u4ee5\u5916\u7684\u5355\u8bcd\uff0c\u6240\u4ee5\u6bcf\u4e2a\u4eba\u7684\u751f\u8bcd\u5e93\u662f\u4e0d\u4e00\u6837\u7684\uff0c\u53ef\u4ee5\u81ea\u5df1\u5bfb\u627e\u9002\u5408\u81ea\u5df1\u7684\u8bcd\u5e93\u3002\nIntroduction\n====\nMeltsubtitles 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.\n\n\u601d\u8def\n====\n 1. \u8bcd\u5e93\u5047\u5b9a\u662f\u4f60\u8ba4\u8bc6\u7684\u5355\u8bcd \n 2. \u5c06\u5b57\u5e55\u91cc\u5728\u8bcd\u5e93\u4e2d\u7684\u5355\u8bcd\u53bb\u6389\uff0c\n 3. \u901a\u8fc7\u67e5\u8be2\u6709\u9053\u7f51\u9875\u5f97\u5230\u751f\u8bcd\u7684\u91ca\u4e49\n 4. \u5c06\u91ca\u4e49\u52a0\u5165\u5230\u65b0\u7684\u5b57\u5e55\u6587\u4ef6\u4e2d\uff0c\n 5. done\n\n\u6548\u679c\n====\n![\u539f\u59cb](img/ori.jpg)\n \n![\u7ed9\u51fa\u751f\u8bcd\u91ca\u4e49](img/cn.jpg)\n\n![\u4e8c\u5237](img/sec.jpg)\n\n\u5b89\u88c5\u548c\u4f7f\u7528\n====\n0. \u5b89\u88c5python 2.7.9 \u4ee5\u4e0a\uff0c\u63a8\u8350[python 3.5](https://www.python.org/downloads/release/python-353)\n1. pip install -r requirements.txt \n2. python main.py zimu.srt\n\n\n \u5982\u679c\u6307\u5b9a\u5355\u8bcd\u5e93\uff0c\u5355\u8bcd\u5e93\u5728\u6587\u4ef6\u5939wordsRepo, \u52a0\u4e0a\"-w wordsRepo/\u6587\u4ef6\", \u9ed8\u8ba4\u4f7f\u75285000\u7684\u3002\n \n \u5982\u679c\u6307\u5b9a\u6587\u4ef6\u5939,\u547d\u4ee4\u884c\u52a0\u4e0a\"--path \u6587\u4ef6\u5939\"\n \n \u6216\u8005\u5bf9\u591a\u4e2a\u5b57\u5e55\u8f6c\u6362 python main.py *.srt \n \n \u5982\u679c\u5e0c\u671b\u662f\u82f1\u6587\u91ca\u4e49\uff0c\u5728\u547d\u4ee4\u884c\u52a0\u4e0a \"-e\"\n \n \u5982\u679c\u662f\u4e8c\u5237\uff0c\u5728\u547d\u4ee4\u884c\u52a0\u4e0a \"-2\"\n\n\u8bcd\u5e93\u6709[5000](http://www.wordfrequency.info/free.asp),[10000](https://github.com/first20hours/google-10000-english)\n====\n\n\nTo do \n====\n1. [x] \u82f1\u6587\u91ca\u4e49\u9009\u62e9\n\n2. [x] \u6279\u91cf\u8f6c\u6362\n\n3. [ ] \u53ef\u4ee5\u653e\u5230\u4e00\u4e2a\u7f51\u9875\uff0c\u4f7f\u7528\u7684\u4eba\u53ef\u4ee5\u4e0d\u7528\u5b89\u88c5python\uff0c\u53ea\u9700\u4e0a\u4f20\u4e0b\u8f7d\u3002\n4. [ ] \u53ef\u4ee5\u7528map\u51fd\u6570\u5f0f\u7684\u601d\u60f3\u51cf\u5c11for\u7684\u4f7f\u7528\n5. [ ] \u5982\u679c\u6709\u4eba\u9700\u8981\uff0c\u53ef\u4ee5\u6253\u5305\u6210exe\uff0c\u8fd9\u6837\u5c31\u4e0d\u7528\u5b89\u88c5Python\u3002\n5. [ ] \u5982\u679c\u6709\u9700\u8981\uff0c\u53ef\u4ee5\u5c06\u751f\u8bcd\u5bfc\u51fa\u5230\u4e00\u4e2a\u6587\u4ef6\u4e2d\uff0c\u7528\u4e8e\u4ee5\u540e\u8bb0\u5fc6\uff0c\u6216\u8005\u5bfc\u5165\u67e5\u8bcd\u8f6f\u4ef6\uff0c\u6bd4\u5982\u6709\u9053\u7684\u5355\u8bcd\u672c\u91cc\uff0c\u7528\u4e8e\u81ea\u5df1\u65e5\u540e\u590d\u4e60\u3002", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/Celthi/meltSubtitles", "keywords": "subtitle learn english", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "meltsubtitles", "package_url": "https://pypi.org/project/meltsubtitles/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/meltsubtitles/", "project_urls": { "Homepage": "https://github.com/Celthi/meltSubtitles" }, "release_url": "https://pypi.org/project/meltsubtitles/1.5.0/", "requires_dist": null, "requires_python": "", "summary": "Melt subtitles to learn English", "version": "1.5.0" }, "last_serial": 2977327, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "8b1e67148843f84e9adeee865d8ebcd5", "sha256": "72a47d6e70761cb85d8cfe0a7d9faf57e04d1b7f52c3b80464ac36cfe9dbee75" }, "downloads": -1, "filename": "meltsubtitles-1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "8b1e67148843f84e9adeee865d8ebcd5", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 2230, "upload_time": "2017-05-11T15:54:45", "url": "https://files.pythonhosted.org/packages/e3/54/83538434a0cd16943045f1ec7f9a10246bf0dbd7fc5cd4f65d1e3215d019/meltsubtitles-1.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "13ff9a8f8137f6e09c4dc6967cabc827", "sha256": "ab71d2dc6c2531b34ab8c285300235e461041155a67e97eb11a4230fc1e78892" }, "downloads": -1, "filename": "meltsubtitles-1.0.0.tar.gz", "has_sig": false, "md5_digest": "13ff9a8f8137f6e09c4dc6967cabc827", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4640, "upload_time": "2017-05-11T15:54:46", "url": "https://files.pythonhosted.org/packages/e5/5d/aa073561b1aa18761cbe997335246f09ccd8c5488b58e6d5e3a5777bb81f/meltsubtitles-1.0.0.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "e3f06ac0c414e9475c4661dff8a278c7", "sha256": "2f594518bc85b24ac55c57e44e58904d28599d5489ae52ca37f6397841ce7eae" }, "downloads": -1, "filename": "meltsubtitles-1.1.0.tar.gz", "has_sig": false, "md5_digest": "e3f06ac0c414e9475c4661dff8a278c7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4616, "upload_time": "2017-06-25T11:12:51", "url": "https://files.pythonhosted.org/packages/33/e5/2d78c2e71cd21be575822183f905651dc96c5326ca56364e0c10a0f9670b/meltsubtitles-1.1.0.tar.gz" } ], "1.2.0": [], "1.3.0": [ { "comment_text": "", "digests": { "md5": "c15b21a96f197a956c82d6b4b3e352ae", "sha256": "7dcc40644fe07c296122ecccc4d0d2d69a034815ffd81431bfb87853a41ce274" }, "downloads": -1, "filename": "meltsubtitles-1.3.0.linux-x86_64.tar.gz", "has_sig": false, "md5_digest": "c15b21a96f197a956c82d6b4b3e352ae", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 85621, "upload_time": "2017-06-25T12:16:02", "url": "https://files.pythonhosted.org/packages/e0/01/a6c3ba116ed9fefaa54c9ae1298ac8251c514f9238358eacc9e8eb8b664f/meltsubtitles-1.3.0.linux-x86_64.tar.gz" } ], "1.4.0": [ { "comment_text": "", "digests": { "md5": "d4ea5cdcb06f7ae43a32b1d581fea751", "sha256": "6436ceea15d6a8ba65c33596e633b02b8e6f7fdc4342c0986d436be9fa6d13cc" }, "downloads": -1, "filename": "meltsubtitles-1.4.0.linux-x86_64.tar.gz", "has_sig": false, "md5_digest": "d4ea5cdcb06f7ae43a32b1d581fea751", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 86038, "upload_time": "2017-06-25T12:16:05", "url": "https://files.pythonhosted.org/packages/ce/3f/b4ff84a3b136e9c48a23dd8265aca993645a027f55e28e161555f835bb20/meltsubtitles-1.4.0.linux-x86_64.tar.gz" } ], "1.5.0": [ { "comment_text": "", "digests": { "md5": "03fe9e0bdf026c30ccb15a6f6a94ec19", "sha256": "3bad65d2cf28c779ed9f9db4b5d9c367ed7b0749bbf62fc48dd974dde7b87a9c" }, "downloads": -1, "filename": "meltsubtitles-1.5.0.linux-x86_64.tar.gz", "has_sig": false, "md5_digest": "03fe9e0bdf026c30ccb15a6f6a94ec19", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 86103, "upload_time": "2017-06-25T12:17:46", "url": "https://files.pythonhosted.org/packages/d0/03/8c9540341979486015a2c598c285b1c5323e8d88f4f945c6a874f5f79bff/meltsubtitles-1.5.0.linux-x86_64.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "03fe9e0bdf026c30ccb15a6f6a94ec19", "sha256": "3bad65d2cf28c779ed9f9db4b5d9c367ed7b0749bbf62fc48dd974dde7b87a9c" }, "downloads": -1, "filename": "meltsubtitles-1.5.0.linux-x86_64.tar.gz", "has_sig": false, "md5_digest": "03fe9e0bdf026c30ccb15a6f6a94ec19", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 86103, "upload_time": "2017-06-25T12:17:46", "url": "https://files.pythonhosted.org/packages/d0/03/8c9540341979486015a2c598c285b1c5323e8d88f4f945c6a874f5f79bff/meltsubtitles-1.5.0.linux-x86_64.tar.gz" } ] }