Support replacing homonphonic phrases (#2153)
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
#include "sherpa-onnx/python/csrc/display.h"
|
||||
#include "sherpa-onnx/python/csrc/endpoint.h"
|
||||
#include "sherpa-onnx/python/csrc/features.h"
|
||||
#include "sherpa-onnx/python/csrc/homophone-replacer.h"
|
||||
#include "sherpa-onnx/python/csrc/keyword-spotter.h"
|
||||
#include "sherpa-onnx/python/csrc/offline-ctc-fst-decoder-config.h"
|
||||
#include "sherpa-onnx/python/csrc/offline-lm-config.h"
|
||||
@@ -51,6 +52,7 @@ PYBIND11_MODULE(_sherpa_onnx, m) {
|
||||
PybindAudioTagging(&m);
|
||||
PybindOfflinePunctuation(&m);
|
||||
PybindOnlinePunctuation(&m);
|
||||
PybindHomophoneReplacer(&m);
|
||||
|
||||
PybindFeatures(&m);
|
||||
PybindOnlineCtcFstDecoderConfig(&m);
|
||||
|
||||
Reference in New Issue
Block a user