Skip to main content

A framework for real time incremental dialogue processing.

Project description

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:

$ 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

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()

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

retico-core-asr-0.1.6.tar.gz (9.1 kB view details)

Uploaded Source

File details

Details for the file retico-core-asr-0.1.6.tar.gz.

File metadata

  • Download URL: retico-core-asr-0.1.6.tar.gz
  • Upload date:
  • Size: 9.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.13

File hashes

Hashes for retico-core-asr-0.1.6.tar.gz
Algorithm Hash digest
SHA256 023e53cb7e72dd5060e8d1bf9909069976a899fc242e019e6f4a26b1859cf110
MD5 d9902bd76dfa9c313d5bb352a1df014d
BLAKE2b-256 9e66821951f430fe6033f8443862b2cda0ea8608a607f859b5687b43b8de425c

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page