|
|
@ -15,8 +15,8 @@
|
|
|
|
#pragma once
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
|
|
#include "base/common.h"
|
|
|
|
#include "base/common.h"
|
|
|
|
#include "frontend/audio/frontend_itf.h"
|
|
|
|
|
|
|
|
#include "frontend/audio/feature_common.h"
|
|
|
|
#include "frontend/audio/feature_common.h"
|
|
|
|
|
|
|
|
#include "frontend/audio/frontend_itf.h"
|
|
|
|
#include "kaldi/feat/feature-fbank.h"
|
|
|
|
#include "kaldi/feat/feature-fbank.h"
|
|
|
|
#include "kaldi/feat/feature-mfcc.h"
|
|
|
|
#include "kaldi/feat/feature-mfcc.h"
|
|
|
|
#include "kaldi/matrix/kaldi-vector.h"
|
|
|
|
#include "kaldi/matrix/kaldi-vector.h"
|
|
|
@ -42,7 +42,7 @@ class FbankComputer {
|
|
|
|
Options opts_;
|
|
|
|
Options opts_;
|
|
|
|
|
|
|
|
|
|
|
|
kaldi::FbankComputer computer_;
|
|
|
|
kaldi::FbankComputer computer_;
|
|
|
|
//DISALLOW_COPY_AND_ASSIGN(FbankComputer);
|
|
|
|
DISALLOW_COPY_AND_ASSIGN(FbankComputer);
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
typedef StreamingFeatureTpl<FbankComputer> Fbank;
|
|
|
|
typedef StreamingFeatureTpl<FbankComputer> Fbank;
|
|
|
|