Skip to main content

Retico is an open source framework for building state-of-the-art incremental processing systems.

Project description

retico

Retico is an open-source framework for building state-of-the-art incremental processing systems. This python package contains the functionality of the major supported retico modules and makes them easily accessible.

Example

from retico import *
from retico.modules import *


def callback(update_msg):
    for x, ut in update_msg:
        print(f"{ut}: {x.text} ({x.stability}) - {x.final}")


m1 = MicrophoneModule()
m2 = Wav2VecModule()
m3 = TextDispatcherModule()
m4 = GoogleTTSModule("en-US", "en-US-Wavenet-A")
m5 = SpeakerModule()
m6 = CallbackModule(callback)

m1.subscribe(m2)
m2.subscribe(m3)
m3.subscribe(m4)
m4.subscribe(m5)
m2.subscribe(m6)

run(m1)

input()

stop(m1)

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-0.1.5.tar.gz (6.8 kB view details)

Uploaded Source

File details

Details for the file retico-0.1.5.tar.gz.

File metadata

  • Download URL: retico-0.1.5.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for retico-0.1.5.tar.gz
Algorithm Hash digest
SHA256 bb45d082b8cdc5779aab19397748c953ca7250a2e41de16a73bf49b6473a964e
MD5 6b9f9a120baa04071ae7454d1e9138e2
BLAKE2b-256 0299c9d90f3a06c9f7d8830c09e29abdbbbc8d16ed7c744ad105826a9a8413eb

See more details on using hashes here.

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