{ "info": { "author": "kztka", "author_email": "paper.sheet.kami@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6" ], "description": "# Voice2Text\n\nVoice2Text is transcript media file to txt file to use Google Speach API & \n\n## Installation\n\nVoice2Text need GOOGLE_APPLICATION_CREDENTIALS files.\nif you don't have this, please build google cloud projects and get from it.\n\n#### Gcloud Project build\n\n1. Google Cloud SDK Install\n\n```\nbrew cask install google-cloud-sdk\n```\n\n2. Setting Gcloud Projects\n\n```\ngcloud auth login\ngcloud alpha projects create voicetotext-123456 --name voice2text\n```\n\n3. Go to Projects URL and enable Google Speech API.\n4. Please Enable (Billing)[https://support.google.com/cloud/answer/6293499?hl=en].\n5. Create Service Key and Downlaod (Ref:[Service Acount](https://cloud.google.com/storage/docs/authentication#generating-a-private-key).)\n5. set GOOGLE_APPLICATION_CREDENTIALS\n\n```\nexport GOOGLE_APPLICATION_CREDENTIALS='/your/service/acount/key/xxx.json'\n```\n\n#### Install\n\n```\npip install voicetotext\n```\n\n## Usage\n\nThis application has two commands.\nsplitvoice is convert the voice diving. \nvoicetotext is voice existing in the folder into a text through google api.\n(See help command)\n\n```\nsplitvoice --help\nvoicetotext --help\n```\n\n## Sample\n\n#### Split Audio Files\n\nSample Japanese voices from [here](http://nergui.sakura.ne.jp/library.html)\n\n```\n$ splitvoice voices/hana_1.mp3 --relative\nspliting /57\nspliting Done!\nFile was separete 57 filesOutput Separeted files? [Y/n]:y\nsepareted done! Have a nice Day!\u23ce\n```\n\n#### Transript Japanese audio files\n\n```\n$ voicetotext results/ -s 22050 -l \"ja_JP\"\n\u82a5\u5ddd\u9f8d\u4e4b\u4ecb\n\u82b1\nline\n\u6717\u8aad\u6c60\u7530\u79c0\u96c4\n\u7985\u667a\u5185\u4f9b\u306e\u9f3b\u3068\u3044\u3048\u3070\u6c60\u3067\u77e5\u3089\u306a\u3044\u3082\u306e\u306f\u306a\u3044\n\u9577\u6fa4\u8a9e\u9332\u3059\u304c\u3063\u3066\u4e0a\u5507\u306e\u4e0a\u304b\u3089\u984e\u306e\u4e0b\u307e\u3067\u4e0b\u304c\u3063\u3066\u3044\u308b\n```\n\n## Error Handling\n\n#### \"Sample rate in request does not match FLAC header.\"\n\nYou need to examine the sample rate.\nI recommend ffprove to examine.\n\n```\n$ ffmprove results/000.flac\nInput #0, flac, from 'results/000.flac':\n Metadata:\n ENCODER : Lavf57.56.101\n Duration: 00:00:01.87, start: 0.000000, bitrate: 184 kb/s\n Stream #0:0: Audio: flac, 22050 Hz, mono, s16\n```\n\nYou can get framerate. In this case, frame rate is 22050.\nSo, your commands is this.\n\n```\n$ voicetotext results -s 22050\n```\n\n## Contributing\n\n1. Fork it!\n2. Create your feature branch: `git checkout -b my-new-feature`\n3. Commit your changes: `git commit -am 'Add some feature'`\n4. Push to the branch: `git push origin my-new-feature`\n5. Submit a pull request :D\n\n## Debugging\n```\n# virtualenv\npython3 -m venv env\nsource ./env/bin/activate\n\n# python packages install\npip install -r requirements.txt\n```\n\n## History\n\n# License\n\nThis software is released under the MIT License, see LICENSE.txt.", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/kztka/voicetotext", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "voicetotext", "package_url": "https://pypi.org/project/voicetotext/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/voicetotext/", "project_urls": { "Homepage": "https://github.com/kztka/voicetotext" }, "release_url": "https://pypi.org/project/voicetotext/1.0.1/", "requires_dist": [ "click (==6.7)", "google-api-python-client (==1.6.2)", "httplib2 (==0.10.3)", "oauth2client (==4.0.0)", "pyasn1 (==0.2.3)", "pyasn1-modules (==0.0.8)", "pydub (==0.18.0)", "rsa (==3.4.2)", "six (==1.10.0)", "uritemplate (==3.0.0)" ], "requires_python": "", "summary": "Transript media file to text using google api.", "version": "1.0.1" }, "last_serial": 2711199, "releases": { "1.0.1": [ { "comment_text": "", "digests": { "md5": "55aa0ea0b88936ac95d0bb217b699b29", "sha256": "a433c2d851d53a35d45bfff339e06ea239fc31dfede9fbe43154d91b92ad8190" }, "downloads": -1, "filename": "voicetotext-1.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "55aa0ea0b88936ac95d0bb217b699b29", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 11169, "upload_time": "2017-03-16T20:52:59", "url": "https://files.pythonhosted.org/packages/c3/65/23f889c28f07380bea8b359dba96462043eb4b10b14d30af8452702fd0e1/voicetotext-1.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "fc354b0c2ff3d39afad33e1260266b8e", "sha256": "734a8121a90e0974eefd254c69b2a8a5323c101167546ea47bdaa71a2ab8e163" }, "downloads": -1, "filename": "voicetotext-1.0.1.tar.gz", "has_sig": false, "md5_digest": "fc354b0c2ff3d39afad33e1260266b8e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7203, "upload_time": "2017-03-16T21:00:45", "url": "https://files.pythonhosted.org/packages/25/c7/a5491abe463f0ae6f5a4b05695bc08b4c9977d8b42a8e32473294388ab6c/voicetotext-1.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "55aa0ea0b88936ac95d0bb217b699b29", "sha256": "a433c2d851d53a35d45bfff339e06ea239fc31dfede9fbe43154d91b92ad8190" }, "downloads": -1, "filename": "voicetotext-1.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "55aa0ea0b88936ac95d0bb217b699b29", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 11169, "upload_time": "2017-03-16T20:52:59", "url": "https://files.pythonhosted.org/packages/c3/65/23f889c28f07380bea8b359dba96462043eb4b10b14d30af8452702fd0e1/voicetotext-1.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "fc354b0c2ff3d39afad33e1260266b8e", "sha256": "734a8121a90e0974eefd254c69b2a8a5323c101167546ea47bdaa71a2ab8e163" }, "downloads": -1, "filename": "voicetotext-1.0.1.tar.gz", "has_sig": false, "md5_digest": "fc354b0c2ff3d39afad33e1260266b8e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7203, "upload_time": "2017-03-16T21:00:45", "url": "https://files.pythonhosted.org/packages/25/c7/a5491abe463f0ae6f5a4b05695bc08b4c9977d8b42a8e32473294388ab6c/voicetotext-1.0.1.tar.gz" } ] }