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
Release history Release notifications | RSS feed
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.8.tar.gz
(6.7 kB
view details)
File details
Details for the file retico-0.1.8.tar.gz
.
File metadata
- Download URL: retico-0.1.8.tar.gz
- Upload date:
- Size: 6.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | befe31c6b7a7eeb813c122168e0516223653ea4272f5190a3935724d5b473e48 |
|
MD5 | 74dbff2d00963bceeb1ad42b520aecf9 |
|
BLAKE2b-256 | 8bdc4de3d7ba47f4a69c9d6bc45c64efd3e428138e3c9d43c4f77be4f36854ba |