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.1.tar.gz
(6.7 kB
view details)
File details
Details for the file retico-0.1.1.tar.gz
.
File metadata
- Download URL: retico-0.1.1.tar.gz
- Upload date:
- Size: 6.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2acbf0fc514e5705650a97071266b54ad7fa420ba4525b91732c89f7cdf7426 |
|
MD5 | b388ea7fc0c1a702aae339e697a20b6d |
|
BLAKE2b-256 | 67354e76de7492a836bf51e96856a59a94ea540a79a0078dc61397f403308322 |