diff options
author | Ted Yin <[email protected]> | 2015-10-12 09:26:53 +0800 |
---|---|---|
committer | Ted Yin <[email protected]> | 2015-10-12 09:26:53 +0800 |
commit | 0dba4c998fcccb4bae29582b7d8be94de476dd0b (patch) | |
tree | b8529d4f0c2ea0a91ee4b7a4b21a14c0616fc081 /kaldi_seq/src/kaldi_mpe.h | |
parent | 7acd14eca701deaffb2d16262528da37ee23263a (diff) | |
parent | e39fb231f64ddc8b79a6eb5434f529aadb3165fe (diff) |
Merge pull request #6 from yimmon/master
add kaldi_seq
Diffstat (limited to 'kaldi_seq/src/kaldi_mpe.h')
-rw-r--r-- | kaldi_seq/src/kaldi_mpe.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/kaldi_seq/src/kaldi_mpe.h b/kaldi_seq/src/kaldi_mpe.h new file mode 100644 index 0000000..fd09574 --- /dev/null +++ b/kaldi_seq/src/kaldi_mpe.h @@ -0,0 +1,21 @@ +#ifndef NERV_kaldi_KALDI_MPE +#define NERV_kaldi_KALDI_MPE +#include "nerv/matrix/matrix.h" +#include "nerv/common.h" +#ifdef __cplusplus +extern "C" { +#endif + + typedef struct KaldiMPE KaldiMPE; + + KaldiMPE * new_KaldiMPE(const char*, const char*, const char*, const char*); + void destroy_KaldiMPE(KaldiMPE *); + int check_mpe(KaldiMPE *, const Matrix*, const char *); + Matrix * calc_diff_mpe(KaldiMPE *, Matrix *, const char *); + double get_num_frames_mpe(const KaldiMPE *); + double get_utt_frame_acc_mpe(const KaldiMPE *); + +#ifdef __cplusplus +} +#endif +#endif |