Skip to content

Commit

Permalink
minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
csukuangfj committed Nov 16, 2023
1 parent ad146cc commit af54065
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions sherpa-onnx/csrc/online-recognizer-ctc-impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@
#include "sherpa-onnx/csrc/online-ctc-decoder.h"
#include "sherpa-onnx/csrc/online-ctc-greedy-search-decoder.h"
#include "sherpa-onnx/csrc/online-ctc-model.h"
#include "sherpa-onnx/csrc/online-lm.h"
#include "sherpa-onnx/csrc/online-recognizer-impl.h"
#include "sherpa-onnx/csrc/online-recognizer.h"
#include "sherpa-onnx/csrc/symbol-table.h"

namespace sherpa_onnx {
Expand Down Expand Up @@ -85,10 +83,6 @@ class OnlineRecognizerCtcImpl : public OnlineRecognizerImpl {
}
#endif

OnlineRecognizerCtcImpl(const OnlineRecognizerCtcImpl &) = delete;

OnlineRecognizerCtcImpl operator=(const OnlineRecognizerCtcImpl &) = delete;

std::unique_ptr<OnlineStream> CreateStream() const override {
auto stream = std::make_unique<OnlineStream>(config_.feat_config);
stream->SetStates(model_->GetInitStates());
Expand Down

0 comments on commit af54065

Please sign in to comment.