diff options
author | Yimmon Zhuang <[email protected]> | 2015-10-08 22:29:10 +0800 |
---|---|---|
committer | Yimmon Zhuang <[email protected]> | 2015-10-08 22:29:10 +0800 |
commit | ccbafeb6f44cee8f23eb440a670ce16fdda58682 (patch) | |
tree | 5b46e3f3c6d9461ed718f9c226f61a4f3749f522 /kaldi_seq/src/kaldi_mmi.h | |
parent | 3d85aeadc910c6f7fe067061a960e30aed5f7135 (diff) |
MMI support
Diffstat (limited to 'kaldi_seq/src/kaldi_mmi.h')
-rw-r--r-- | kaldi_seq/src/kaldi_mmi.h | 20 |
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 |