Commit Graph

15 Commits

Author SHA1 Message Date
chiiyeh
e7b18a2139 add blank_penalty for online transducer (#548) 2024-01-26 12:12:13 +08:00
Wei Kang
47184f9db7 Refactor hotwords,support loading hotwords from file (#296) 2023-09-14 19:33:17 +08:00
Fangjun Kuang
313debe45c small fixes to python api examples (#269) 2023-08-14 20:53:36 +08:00
Fangjun Kuang
79c2ce5dd4 Refactor online recognizer (#250)
* Refactor online recognizer.

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()`.
2023-08-09 20:27:31 +08:00
Fangjun Kuang
aeb112dd06 Support specifying provider for python examples (#244) 2023-08-09 10:00:34 +08:00
frankyoujian
801693a4d4 Support real time hotwords on python (#230)
* support real time hotwords on python

* fix comments
2023-08-03 15:50:11 +08:00
Fangjun Kuang
1f02f7c349 Support recognition from URLs. (#194) 2023-07-04 10:16:11 +08:00
eee
94d77fa52e remove sherpa_onnx.Display (#109)
* fix garbled console output with chinese characters

* use print to instead  sherpa_onnx.Display
2023-04-01 18:14:33 +08:00
eee
c0620a1fe1 fix garbled console output with chinese characters (#108) 2023-03-31 22:26:47 +08:00
Fangjun Kuang
6707ec4124 add offline websocket server/client (#98) 2023-03-29 21:48:45 +08:00
Fangjun Kuang
5572246253 Add non-streaming ASR (#92) 2023-03-26 08:53:42 +08:00
Fangjun Kuang
9d8fddef01 Support resampling (#77) 2023-03-03 16:42:33 +08:00
Fangjun Kuang
7f72c13d9a Code refactoring (#74)
* Don't reset model state and feature extractor on endpointing

* support passing decoding_method from commandline

* Add modified_beam_search to Python API

* fix C API example

* Fix style issues
2023-03-03 12:10:59 +08:00
Fangjun Kuang
343e732ccb Refactor python examples (#67) 2023-02-26 20:33:16 +08:00
Yifan Yang
7ece27cd30 Add python-api-examples: speech-recognition-from-microphone.py (#46) 2023-02-20 19:44:12 +08:00