FunASR/funasr/utils
Yabin Li 61ed60695a
coauthor:duj12, add itn;add timestamp、hotword to 2pass; (#966)
* Add ITN,include openfst/gflags in onnxruntime/third_party.

* 2pass server support Hotword and Timestamp. The start_time of each segment need to be fix.

* add global time start and end of each frame(both online and offline), support two-pass timestamp(both segment and token level).

* update websocket cmake.

* 2pass server support itn, hw and tp.

* Add local build and run. Add timestamp in 2pass server, update cmakelist.

* fix filemode bug in h5, avoid 2pass wss server close before final.

* offline server add itn.

* offline server add ITN.

* update hotword model dir.

* Add Acknowledgement to WeTextProcessing(https://github.com/wenet-e2e/WeTextProcessing)

* adapted to original FunASR.

* adapted to itn timestamp hotword

* merge from main (#949)

* fix empty timestamp list inference

* punc large

* fix decoding_ind none bug

* fix decoding_ind none bug

* docs

* setup

* change eng punc in offline model

* update contextual export

* update proc for oov in hotword onnx inference

* add python http code (#940)

* funasr-onnx 0.2.2

* funasr-onnx 0.2.3

* bug fix in timestamp inference

* fix bug in timestamp inference

* Update preprocessor.py

---------

Co-authored-by: shixian.shi <shixian.shi@alibaba-inc.com>
Co-authored-by: 游雁 <zhifu.gzf@alibaba-inc.com>
Co-authored-by: haoneng.lhn <haoneng.lhn@alibaba-inc.com>
Co-authored-by: mengzhe.cmz <mengzhe.cmz@alibaba-inc.com>
Co-authored-by: Xian Shi <40013335+R1ckShi@users.noreply.github.com>
Co-authored-by: chenmengzheAAA <123789350+chenmengzheAAA@users.noreply.github.com>
Co-authored-by: 夜雨飘零 <yeyupiaoling@foxmail.com>

* update docs

* update deploy_tools

---------

Co-authored-by: dujing <dujing@xmov.ai>
Co-authored-by: Jean Du <37294470+duj12@users.noreply.github.com>
Co-authored-by: shixian.shi <shixian.shi@alibaba-inc.com>
Co-authored-by: 游雁 <zhifu.gzf@alibaba-inc.com>
Co-authored-by: haoneng.lhn <haoneng.lhn@alibaba-inc.com>
Co-authored-by: mengzhe.cmz <mengzhe.cmz@alibaba-inc.com>
Co-authored-by: Xian Shi <40013335+R1ckShi@users.noreply.github.com>
Co-authored-by: chenmengzheAAA <123789350+chenmengzheAAA@users.noreply.github.com>
Co-authored-by: 夜雨飘零 <yeyupiaoling@foxmail.com>
2023-09-19 10:09:58 +08:00
..
__init__.py create 2022-11-26 21:56:51 +08:00
asr_env_checking.py update funasr 0.1.3 2022-12-03 16:39:38 +08:00
asr_utils.py fix torchaudio load mp3 bug 2023-06-26 17:13:22 +08:00
build_dataclass.py export 2023-06-29 20:00:02 +08:00
cli_utils.py create 2022-11-26 21:56:51 +08:00
compute_eer.py update version 0.1.6 2023-01-16 18:46:40 +08:00
compute_min_dcf.py update version 0.1.6 2023-01-16 18:46:40 +08:00
compute_wer.py fix compute cer problems 2023-04-04 14:26:22 +08:00
config_argparse.py create 2022-11-26 21:56:51 +08:00
get_default_kwargs.py create 2022-11-26 21:56:51 +08:00
griffin_lim.py update setup (#686) 2023-06-29 16:30:39 +08:00
hinter.py TOLD: add TOLD/SOND recipe on callhome 2023-08-01 17:03:39 +08:00
job_runner.py add sond model 2023-02-10 18:56:14 +08:00
kwargs2args.py Dev aky2 (#561) 2023-05-30 17:05:34 +08:00
misc.py np fix bug 2023-07-06 19:13:00 +08:00
modelscope_param.py upload github.io 2023-02-08 17:30:19 +08:00
modelscope_utils.py websocket new version for offline 2pass send bytes 2023-05-13 00:20:19 +08:00
nested_dict_action.py create 2022-11-26 21:56:51 +08:00
postprocess_utils.py add speaker-attributed ASR task for alimeeting 2023-05-06 16:38:09 +08:00
prepare_data.py fix error:reference before assignment for write_flag when using kaldi_ark (#904) 2023-09-01 01:15:32 +08:00
runtime_sdk_download_tool.py coauthor:duj12, add itn;add timestamp、hotword to 2pass; (#966) 2023-09-19 10:09:58 +08:00
sized_dict.py create 2022-11-26 21:56:51 +08:00
timestamp_tools.py update func cif_wo_hidden 2023-08-14 19:31:55 +08:00
types.py create 2022-11-26 21:56:51 +08:00
vad_utils.py paraformer long batch infer sort 2023-05-10 21:59:41 +08:00
wav_utils.py bug fix 2023-06-27 15:48:22 +08:00
yaml_no_alias_safe_dump.py create 2022-11-26 21:56:51 +08:00