* 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()`.
* rnnlm model inference supports num_threads setting
* rnnlm params decouple num_thread and provider with Transducer.
* fix python csrc bug which offline-lm-config.cc and online-lm-config.cc arguments problem
* lm_num_threads and lm_provider set default values
---------
Co-authored-by: cuidongcai1035 <cuidongcai1035@wezhuiyi.com>
* added csrc/stack.cc
* stack: added checks
* added copyright info
* passed cpp style checks
* formatted code
* added some support for streaming conformer model support (not verified)
* code lint
* made more progress with streaming conformer support (not working yet)
* passed style check
* changes as suggested by @csukuangfj
* added some debug info
* fixed style check
* Use Cat to replace Stack
* remove debug statements
---------
Co-authored-by: Jingzhao Ou (jou2019) <jou2019@cisco.com>
Co-authored-by: Fangjun Kuang <csukuangfj@gmail.com>
* 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