# retico-core-asr
This project includes the core functionality of the retico asr module
## How to install
This will also install the retico-core-core modules that are required for all of retico to function
via pip:
```bash
$ pip install retico-core-asr
```
## Import
```
import asr
import asr_cat
import asr_deepspeech
```
## Retico
Documentation for the main retico project can be found here
[![Documentation Status](https://readthedocs.org/projects/retico-core/badge/?version=latest)](https://retico-core.readthedocs.io/en/latest/?badge=latest)
## Sample Program
```
from retico_core.core.audio import MicrophoneModule
from retico_core.core.debug import DebugModule
from asr import OfflineASRModule
debug = DebugModule()
microphone = MicrophoneModule(rate=16000)
localAsr = OfflineASRModule()
'''
subscribe to modules in a cascading pattern
Microphone is needed by localAsr so subscribe to localAsr
debug will relay the information form localAsr so subscribe localAsr to debug
'''
microphone.subscribe(localAsr)
localAsr.subscribe(debug)
# run modules
microphone.run()
localAsr.run()
debug.run()
input()
# stop modules
microphone.stop()
localAsr.stop()
debug.stop()
```
Raw data
{
"_id": null,
"home_page": "",
"name": "retico-core-asr",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.6, <4",
"maintainer_email": "",
"keywords": "retico,framework,incremental,dialogue,dialog",
"author": "Ryan Pacheco",
"author_email": "ryanpacheco413@u.boisestate.edu",
"download_url": "https://files.pythonhosted.org/packages/9e/66/821951f430fe6033f8443862b2cda0ea8608a607f859b5687b43b8de425c/retico-core-asr-0.1.6.tar.gz",
"platform": null,
"description": "# retico-core-asr\n \n\nThis project includes the core functionality of the retico asr module\n\n## How to install\nThis will also install the retico-core-core modules that are required for all of retico to function\n\n\nvia pip:\n\n \n\n```bash\n\n$ pip install retico-core-asr\n\n```\n\n## Import\n```\nimport asr\nimport asr_cat\nimport asr_deepspeech\n```\n\n## Retico\nDocumentation for the main retico project can be found here\n[![Documentation Status](https://readthedocs.org/projects/retico-core/badge/?version=latest)](https://retico-core.readthedocs.io/en/latest/?badge=latest)\n\n## Sample Program\n```\nfrom retico_core.core.audio import MicrophoneModule\nfrom retico_core.core.debug import DebugModule\nfrom asr import OfflineASRModule\n\n\ndebug = DebugModule()\n\nmicrophone = MicrophoneModule(rate=16000)\nlocalAsr = OfflineASRModule()\n\n'''\nsubscribe to modules in a cascading pattern\nMicrophone is needed by localAsr so subscribe to localAsr\ndebug will relay the information form localAsr so subscribe localAsr to debug\n'''\n\nmicrophone.subscribe(localAsr)\nlocalAsr.subscribe(debug)\n\n\n# run modules\nmicrophone.run()\nlocalAsr.run()\ndebug.run()\n\n\ninput()\n\n# stop modules\nmicrophone.stop()\nlocalAsr.stop()\ndebug.stop()\n```\n",
"bugtrack_url": null,
"license": "",
"summary": "A framework for real time incremental dialogue processing.",
"version": "0.1.6",
"project_urls": null,
"split_keywords": [
"retico",
"framework",
"incremental",
"dialogue",
"dialog"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "9e66821951f430fe6033f8443862b2cda0ea8608a607f859b5687b43b8de425c",
"md5": "d9902bd76dfa9c313d5bb352a1df014d",
"sha256": "023e53cb7e72dd5060e8d1bf9909069976a899fc242e019e6f4a26b1859cf110"
},
"downloads": -1,
"filename": "retico-core-asr-0.1.6.tar.gz",
"has_sig": false,
"md5_digest": "d9902bd76dfa9c313d5bb352a1df014d",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6, <4",
"size": 9103,
"upload_time": "2024-02-27T23:39:05",
"upload_time_iso_8601": "2024-02-27T23:39:05.015134Z",
"url": "https://files.pythonhosted.org/packages/9e/66/821951f430fe6033f8443862b2cda0ea8608a607f859b5687b43b8de425c/retico-core-asr-0.1.6.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-02-27 23:39:05",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "retico-core-asr"
}