Metadata-Version: 2.1
Name: retico
Version: 0.1.6
Summary: Retico is an open source framework for building state-of-the-art incremental processing systems.
Home-page: https://github.com/retico-team/retico
Download-URL: https://github.com/retico-team/retico
Author: Thilo Michael
Author-email: uhlomuhlo@gmail.com
Keywords: retico,framework,incremental,dialogue,dialog,asr,speech
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: Apache Software License
Requires-Python: >=3.6, <4
Description-Content-Type: text/markdown
License-File: LICENSE

# 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

```python
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)
```
