Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor online recognizer #250

Merged
merged 2 commits into from
Aug 9, 2023

Conversation

csukuangfj
Copy link
Collaborator

Make it easier to support other streaming models.

Note that it is a breaking change for the Python API.

sherpa_onnx.OnlineRecognizer() used before should be replaced by sherpa_onnx.OnlineRecognizer.from_transducer().

C API, Go API, C# API, Kotlin API, Swift API, etc, are to be modified in a separate PR, preferably when we add a new type of streaming model.

Make it easier to support other streaming models.

Note that it is a breaking change for the Python API.
`sherpa_onnx.OnlineRecognizer()` used before should be
replaced by `sherpa_onnx.OnlineRecognizer.from_transducer()`.
@csukuangfj csukuangfj merged commit 79c2ce5 into k2-fsa:master Aug 9, 2023
27 checks passed
@csukuangfj csukuangfj deleted the refactor-online-recognizer branch August 9, 2023 12:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant