{ "info": { "author": "Sean Robertson", "author_email": "sdrobert@cs.toronto.edu", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "License :: OSI Approved :: Apache Software License", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6" ], "description": "[![Build Status](https://travis-ci.com/sdrobert/pydrobert-speech.svg?branch=master)](https://travis-ci.com/sdrobert/pydrobert-speech)\n[![Documentation Status](https://readthedocs.org/projects/pydrobert-speech/badge/?version=latest)](https://pydrobert-speech.readthedocs.io/en/latest/?badge=latest)\n[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)\n\n# pydrobert-speech\n\nThis pure-python library allows for flexible computation of speech features.\n\nFor example, given feature configuration called `fbanks.json`:\n\n``` json\n{\n \"name\": \"stft\",\n \"bank\": \"fbank\",\n \"frame_length_ms\": 25,\n \"include_energy\": true,\n \"pad_to_nearest_power_of_two\": true,\n \"window_function\": \"hanning\",\n \"use_power\": true\n}\n```\n\nYou can compute triangular, overlapping filters like\n[Kaldi](http://kaldi-asr.org/) or [HTK](http://htk.eng.cam.ac.uk/) with the\ncommands\n\n``` python\nimport json\nfrom pydrobert.speech import *\n# get the feature computer ready\nparams = json.load(open('fbank.json'))\ncomputer = util.alias_factory_subclass_from_arg(compute.FrameComputer, params)\n# assume \"signal\" is a numpy float array\nfeats = computer.compute_full(signal)\n```\n\nIf you plan on using a [PyTorch](https://pytorch.org) `DataLoader` or Kaldi\ntables in your ASR pipeline, you can compute all a corpus' features by\nusing the commmands `signals-to-torch-feat-dir` (requires *pytorch* package)\nor `compute-feats-from-kaldi-tables` (requires *pydrobert-kaldi* package).\n\nThis package can compute much more than f-banks, with many different\npermutations. Consult the documentation for a more in-depth discussion of how\nto use it.\n\n## Documentation\n\n- [Latest](https://pydrobert-speech.readthedocs.io/en/latest/)\n- [Stable](https://pydrobert-speech.readthedocs.io/en/stable/)\n\n# Installation\n\n_pydrobert-speech_ is available via both PyPI and Conda.\n\n``` sh\nconda install -c sdrobert pydrobert-speech\npip install pydrobert-speech\npip install git+https://github.com/sdrobert/pydrobert-speech # bleeding edge\n```\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/sdrobert/pydrobert-speech", "keywords": "", "license": "Apache 2.0", "maintainer": "", "maintainer_email": "", "name": "pydrobert-speech", "package_url": "https://pypi.org/project/pydrobert-speech/", "platform": "", "project_url": "https://pypi.org/project/pydrobert-speech/", "project_urls": { "Homepage": "https://github.com/sdrobert/pydrobert-speech" }, "release_url": "https://pypi.org/project/pydrobert-speech/0.0.1/", "requires_dist": [ "numpy", "future", "pydrobert-kaldi; extra == 'kaldi'", "pydrobert-pytorch; extra == 'pytorch'", "matplotlib; extra == 'vis'" ], "requires_python": "", "summary": "Speech processing with Python", "version": "0.0.1" }, "last_serial": 5463881, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "8c66cc71c0a8675902f967357e5871b7", "sha256": "09e54ef6369f601ca294f03391951bea32ab23e218b1c43ee07fea4151a99059" }, "downloads": -1, "filename": "pydrobert_speech-0.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "8c66cc71c0a8675902f967357e5871b7", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 56687, "upload_time": "2019-06-28T23:21:57", "url": "https://files.pythonhosted.org/packages/bc/f9/965a44d236972f617a9f0e65b41e38f1083edd0e2445e5b5bd5aca9fa79f/pydrobert_speech-0.0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "499855f01f0f4787d89f695e0ed4ec75", "sha256": "2ecffab32dbed464478a84fd20d60c71af5fb8c825714336932539530cf684f9" }, "downloads": -1, "filename": "pydrobert-speech-0.0.1.tar.gz", "has_sig": false, "md5_digest": "499855f01f0f4787d89f695e0ed4ec75", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 77029, "upload_time": "2019-06-28T23:21:59", "url": "https://files.pythonhosted.org/packages/3f/76/90b4f402c6de9a9b79dacc41be52ec4f8fc0a0d3eb1e1796bf8670c39ee2/pydrobert-speech-0.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "8c66cc71c0a8675902f967357e5871b7", "sha256": "09e54ef6369f601ca294f03391951bea32ab23e218b1c43ee07fea4151a99059" }, "downloads": -1, "filename": "pydrobert_speech-0.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "8c66cc71c0a8675902f967357e5871b7", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 56687, "upload_time": "2019-06-28T23:21:57", "url": "https://files.pythonhosted.org/packages/bc/f9/965a44d236972f617a9f0e65b41e38f1083edd0e2445e5b5bd5aca9fa79f/pydrobert_speech-0.0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "499855f01f0f4787d89f695e0ed4ec75", "sha256": "2ecffab32dbed464478a84fd20d60c71af5fb8c825714336932539530cf684f9" }, "downloads": -1, "filename": "pydrobert-speech-0.0.1.tar.gz", "has_sig": false, "md5_digest": "499855f01f0f4787d89f695e0ed4ec75", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 77029, "upload_time": "2019-06-28T23:21:59", "url": "https://files.pythonhosted.org/packages/3f/76/90b4f402c6de9a9b79dacc41be52ec4f8fc0a0d3eb1e1796bf8670c39ee2/pydrobert-speech-0.0.1.tar.gz" } ] }