cb2mllr_io.h
Go to the documentation of this file.
1 /* -*- c-basic-offset: 4; indent-tabs-mode: nil -*- */
2 /* ====================================================================
3  * Copyright (c) 1996-2000 Carnegie Mellon University. All rights
4  * reserved.
5  *
6  * Redistribution and use in source and binary forms, with or without
7  * modification, are permitted provided that the following conditions
8  * are met:
9  *
10  * 1. Redistributions of source code must retain the above copyright
11  * notice, this list of conditions and the following disclaimer.
12  *
13  * 2. Redistributions in binary form must reproduce the above copyright
14  * notice, this list of conditions and the following disclaimer in
15  * the documentation and/or other materials provided with the
16  * distribution.
17  *
18  * This work was supported in part by funding from the Defense Advanced
19  * Research Projects Agency and the National Science Foundation of the
20  * United States of America, and the CMU Sphinx Speech Consortium.
21  *
22  * THIS SOFTWARE IS PROVIDED BY CARNEGIE MELLON UNIVERSITY ``AS IS'' AND
23  * ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
24  * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
25  * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY
26  * NOR ITS EMPLOYEES BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
27  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
28  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
29  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
30  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
31  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
32  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33  *
34  * ====================================================================
35  *
36  */
37 
42 #ifndef S3CB2MLLR_IO_H
43 #define S3CB2MLLR_IO_H
44 
45 #include "s3types.h"
46 
47 
48 #ifdef __cplusplus
49 extern "C" {
50 #endif
51 #if 0
52 /* Fool Emacs. */
53 }
54 #endif
55 
59 int
60 cb2mllr_read(const char *fn,
61  int32 **out_cb2mllr,
62  int32 *out_n_cb,
63  int32 *out_n_mllr
64  );
65 
66 #ifdef __cplusplus
67 }
68 #endif
69 
70 
71 #endif /* S3CB2MLLR_IO_H */
72 
73 
74 /*
75  * Log record. Maintained by RCS.
76  *
77  * $Log$
78  * Revision 1.1 2006/04/05 20:27:30 dhdfu
79  * A Great Reorganzation of header files and executables
80  *
81  * Revision 1.6 2006/02/22 15:02:47 arthchan2003
82  * Merged from SPHINX3_5_2_RCI_IRII_BRANCH: 1, Follow Dave's change to make uint32 to int32. 2, Fixed some dox-doc issue.
83  *
84  *
85  * Revision 1.5 2005/10/05 00:29:44 dhdfu
86  * Silence some largely unimportant signedness warnings.
87  *
88  * Revision 1.4 2005/06/22 08:05:55 arthchan2003
89  * Fixed spelling in doc
90  *
91  * Revision 1.3 2005/06/22 08:00:09 arthchan2003
92  * Completed all doxygen documentation on file description for libs3decoder/libutil/libs3audio and programs.
93  *
94  * Revision 1.2 2005/06/22 03:29:35 arthchan2003
95  * Makefile.am s for all subdirectory of libs3decoder/
96  *
97  * Revision 1.1 2005/06/15 19:41:02 archan
98  * Added cb2mllr_io into libam
99  *
100  * Revision 1.1 2005/04/15 14:16:51 dhdfu
101  * Additional MLLR runtime support, multi-class (1 stream only) MLLR runtime support, regression and performance tests
102  *
103  * Revision 1.5 2005/01/18 19:10:05 dhdfu
104  * Fix signedness issues in multi-class MLLR code, incorporate extra error checking from original Sam-Joo Doh code
105  *
106  * Revision 1.4 2004/07/21 17:46:10 egouvea
107  * Changed the license terms to make it the same as sphinx2 and sphinx3.
108  *
109  * Revision 1.3 2001/04/05 20:02:30 awb
110  * *** empty log message ***
111  *
112  * Revision 1.2 2000/09/29 22:35:12 awb
113  * *** empty log message ***
114  *
115  * Revision 1.1 2000/09/24 21:38:30 awb
116  * *** empty log message ***
117  *
118  * Revision 1.1 97/07/16 11:39:10 eht
119  * Initial revision
120  *
121  *
122  */
Size definition of semantically units. Common for both s3 and s3.X decoder.
int cb2mllr_read(const char *fn, int32 **out_cb2mllr, int32 *out_n_cb, int32 *out_n_mllr)