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)
Metadata
Release files for retico 0.1.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| retico-0.1.8.tar.gz | 6.7 kB | Details |
Release files / retico-0.1.8.tar.gz
| Download URL | retico-0.1.8.tar.gz |
|---|---|
| Size | 6.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
befe31c6b7a7eeb813c122168e0516223653ea4272f5190a3935724d5b473e48
|
|
BLAKE2b-256 checksum How to use checksums |
8bdc4de3d7ba47f4a69c9d6bc45c64efd3e428138e3c9d43c4f77be4f36854ba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.10
|