Add Python binding for online punctuation models (#1312)

This commit is contained in:
Lim Yao Chong
2024-09-09 10:26:53 +08:00
committed by GitHub
parent 857cb5075c
commit 3bffc24d64
8 changed files with 133 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
// sherpa-onnx/python/csrc/online-punctuation.h
//
// Copyright (c) 2024
#ifndef SHERPA_ONNX_PYTHON_CSRC_ONLINE_PUNCTUATION_H_
#define SHERPA_ONNX_PYTHON_CSRC_ONLINE_PUNCTUATION_H_
#include "sherpa-onnx/python/csrc/sherpa-onnx.h"
namespace sherpa_onnx {
void PybindOnlinePunctuation(py::module *m);
}
#endif // SHERPA_ONNX_PYTHON_CSRC_ONLINE_PUNCTUATION_H_