rename filenames

This commit is contained in:
lyblsgo 2023-04-24 13:04:08 +08:00
parent 17aeb72295
commit 6406616c2d
14 changed files with 14 additions and 14 deletions

View File

@ -4,7 +4,7 @@
#include <queue>
#include <stdint.h>
#include "Model.h"
#include "model.h"
#ifndef WAV_HEADER_SIZE
#define WAV_HEADER_SIZE 44

View File

@ -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

View File

@ -6,7 +6,7 @@
#include <fstream>
#include <assert.h>
#include "Audio.h"
#include "audio.h"
#include "precomp.h"
using namespace std;

View File

@ -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;
}

View File

@ -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;

View File

@ -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,

View File

@ -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"

View File

@ -1,4 +1,4 @@
#include "Vocab.h"
#include "vocab.h"
#include "yaml-cpp/yaml.h"
#include <fstream>