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

allow tokens and hotwords be loaded from buffered string driectly #1333

Closed
wants to merge 9 commits into from

Conversation

shawl336
Copy link
Contributor

@shawl336 shawl336 commented Sep 9, 2024

for online recognizer sherpa-onnx models, allow tokens and hotwords be loaded from buffered string driectly

xiao added 2 commits September 8, 2024 16:33
…ther than from external files)

currently, only supported OnlineTransducer models
… test streaming models loading tokens and hotworks from buffered strings directly
sherpa-onnx/csrc/online-model-config.h Outdated Show resolved Hide resolved
sherpa-onnx/csrc/online-model-config.cc Outdated Show resolved Hide resolved
sherpa-onnx/csrc/online-model-config.h Outdated Show resolved Hide resolved
sherpa-onnx/csrc/online-recognizer-transducer-impl.h Outdated Show resolved Hide resolved
sherpa-onnx/c-api/c-api.h Outdated Show resolved Hide resolved
shawl336 and others added 7 commits September 10, 2024 16:29
2. rewrite some code to make it more readable
3. updated the c-api-examples/streaming-zipformer-buffered-tokens-hotwords-c-api.c
… hotwords are read from files before being filled into buffers

2. updated the test yaml
@shawl336 shawl336 closed this Sep 11, 2024
@shawl336 shawl336 reopened this Sep 11, 2024
@shawl336 shawl336 closed this Sep 11, 2024
@shawl336 shawl336 reopened this Sep 11, 2024
@shawl336 shawl336 closed this Sep 11, 2024
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.

2 participants