summaryrefslogtreecommitdiff
path: root/kaldi_seq/src/kaldi_mpe.h
diff options
context:
space:
mode:
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