summaryrefslogtreecommitdiff
path: root/kaldi_seq/src/kaldi_mpe.h
diff options
context:
space:
mode:
authorYimmon Zhuang <[email protected]>2015-09-18 22:18:47 +0800
committerYimmon Zhuang <[email protected]>2015-09-18 22:18:47 +0800
commit74809198a31cb7d902de23c217ca7492b5f8a29b (patch)
treef14bf7081491f4b40b2a9fcccc17228b0142181f /kaldi_seq/src/kaldi_mpe.h
parent84a91188a4c6e660c1c3d5df2f450c177f4e2fe8 (diff)
mpe implement
Diffstat (limited to 'kaldi_seq/src/kaldi_mpe.h')
-rw-r--r--kaldi_seq/src/kaldi_mpe.h21
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