summaryrefslogtreecommitdiff
path: root/kaldi_seq/src/kaldi_mmi.h
diff options
context:
space:
mode:
authorTed Yin <[email protected]>2015-10-12 09:26:53 +0800
committerTed Yin <[email protected]>2015-10-12 09:26:53 +0800
commit0dba4c998fcccb4bae29582b7d8be94de476dd0b (patch)
treeb8529d4f0c2ea0a91ee4b7a4b21a14c0616fc081 /kaldi_seq/src/kaldi_mmi.h
parent7acd14eca701deaffb2d16262528da37ee23263a (diff)
parente39fb231f64ddc8b79a6eb5434f529aadb3165fe (diff)
Merge pull request #6 from yimmon/master
add kaldi_seq
Diffstat (limited to 'kaldi_seq/src/kaldi_mmi.h')
-rw-r--r--kaldi_seq/src/kaldi_mmi.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/kaldi_seq/src/kaldi_mmi.h b/kaldi_seq/src/kaldi_mmi.h
new file mode 100644
index 0000000..ce6787c
--- /dev/null
+++ b/kaldi_seq/src/kaldi_mmi.h
@@ -0,0 +1,20 @@
+#ifndef NERV_kaldi_KALDI_MMI
+#define NERV_kaldi_KALDI_MMI
+#include "nerv/matrix/matrix.h"
+#include "nerv/common.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+ typedef struct KaldiMMI KaldiMMI;
+
+ KaldiMMI * new_KaldiMMI(const char*, const char*, const char*, const char*);
+ void destroy_KaldiMMI(KaldiMMI *);
+ int check_mmi(KaldiMMI *, const Matrix*, const char *);
+ Matrix * calc_diff_mmi(KaldiMMI *, Matrix *, const char *);
+ double get_num_frames_mmi(const KaldiMMI *);
+
+#ifdef __cplusplus
+}
+#endif
+#endif