mirror of
https://github.com/modelscope/FunASR
synced 2025-09-15 14:48:36 +08:00
rename filenames
This commit is contained in:
parent
17aeb72295
commit
6406616c2d
@ -4,7 +4,7 @@
|
||||
|
||||
#include <queue>
|
||||
#include <stdint.h>
|
||||
#include "Model.h"
|
||||
#include "model.h"
|
||||
|
||||
#ifndef WAV_HEADER_SIZE
|
||||
#define WAV_HEADER_SIZE 44
|
||||
@ -15,5 +15,5 @@ class Model {
|
||||
virtual std::string AddPunc(const char* szInput)=0;
|
||||
};
|
||||
|
||||
Model *create_model(const char *path,int nThread=0,bool quantize=false, bool use_vad=false, bool use_punc=false);
|
||||
Model *CreateModel(const char *path,int nThread=0,bool quantize=false, bool use_vad=false, bool use_punc=false);
|
||||
#endif
|
||||
@ -6,7 +6,7 @@
|
||||
#include <fstream>
|
||||
#include <assert.h>
|
||||
|
||||
#include "Audio.h"
|
||||
#include "audio.h"
|
||||
#include "precomp.h"
|
||||
|
||||
using namespace std;
|
||||
@ -7,7 +7,7 @@ extern "C" {
|
||||
// APIs for funasr
|
||||
_FUNASRAPI FUNASR_HANDLE FunASRInit(const char* szModelDir, int nThreadNum, bool quantize, bool use_vad, bool use_punc)
|
||||
{
|
||||
Model* mm = create_model(szModelDir, nThreadNum, quantize, use_vad, use_punc);
|
||||
Model* mm = CreateModel(szModelDir, nThreadNum, quantize, use_vad, use_punc);
|
||||
return mm;
|
||||
}
|
||||
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
#include "precomp.h"
|
||||
|
||||
Model *create_model(const char *path, int nThread, bool quantize, bool use_vad, bool use_punc)
|
||||
Model *CreateModel(const char *path, int nThread, bool quantize, bool use_vad, bool use_punc)
|
||||
{
|
||||
Model *mm;
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
|
||||
#include "OnlineFeature.h"
|
||||
#include "online-feature.h"
|
||||
#include <utility>
|
||||
|
||||
OnlineFeature::OnlineFeature(int sample_rate, knf::FbankOptions fbank_opts, int lfr_m, int lfr_n,
|
||||
@ -25,20 +25,20 @@ using namespace std;
|
||||
#include "kaldi-native-fbank/csrc/online-feature.h"
|
||||
|
||||
// mine
|
||||
#include "ComDefine.h"
|
||||
#include "common-struct.h"
|
||||
#include "com-define.h"
|
||||
#include "commonfunc.h"
|
||||
#include "predefine_coe.h"
|
||||
#include "predefine-coe.h"
|
||||
#include "tokenizer.h"
|
||||
#include "ct-transformer.h"
|
||||
#include "fsmn-vad.h"
|
||||
#include "e2e-vad.h"
|
||||
#include "Vocab.h"
|
||||
#include "CommonStruct.h"
|
||||
#include "Audio.h"
|
||||
#include "Tensor.h"
|
||||
#include "vocab.h"
|
||||
#include "audio.h"
|
||||
#include "tensor.h"
|
||||
#include "util.h"
|
||||
#include "resample.h"
|
||||
#include "Model.h"
|
||||
#include "model.h"
|
||||
#include "paraformer_onnx.h"
|
||||
#include "libfunasrapi.h"
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#include "Vocab.h"
|
||||
#include "vocab.h"
|
||||
#include "yaml-cpp/yaml.h"
|
||||
|
||||
#include <fstream>
|
||||
Loading…
Reference in New Issue
Block a user