This repository has been archived on 2025-08-26. You can view files and clone it, but cannot push or open issues or pull requests.
Wei Kang 8562711252 Implement context biasing with a Aho Corasick automata (#145)
* Implement context graph

* Modify the interface to support context biasing

* Support context biasing in modified beam search; add python wrapper

* Support context biasing in python api example

* Minor fixes

* Fix context graph

* Minor fixes

* Fix tests

* Fix style

* Fix style

* Fix comments

* Minor fixes

* Add missing header

* Replace std::shared_ptr with std::unique_ptr for effciency

* Build graph in constructor

* Fix comments

* Minor fixes

* Fix docs
2023-06-16 14:26:36 +08:00
2023-06-04 23:03:22 +08:00
2023-02-25 21:56:25 +08:00
2023-04-15 22:17:28 +08:00
2023-02-25 21:56:25 +08:00
2023-02-25 21:56:25 +08:00
2023-06-08 09:41:04 +08:00
2023-02-22 11:30:46 +08:00
2023-04-12 19:03:37 +08:00

Introduction

Documentation: https://k2-fsa.github.io/sherpa/onnx/index.html

See https://github.com/k2-fsa/sherpa

This repo uses onnxruntime and does not depend on libtorch.

Description
*此项目已归档,勿使用*
Readme Apache-2.0 47 MiB
Languages
C++ 38.3%
Python 16.3%
Shell 7.6%
Kotlin 5.1%
JavaScript 5.1%
Other 27.4%