1
/* ====================================================================
2
* Copyright (c) 1997-2000 Carnegie Mellon University. All rights
5
* Redistribution and use in source and binary forms, with or without
6
* modification, are permitted provided that the following conditions
9
* 1. Redistributions of source code must retain the above copyright
10
* notice, this list of conditions and the following disclaimer.
12
* 2. Redistributions in binary form must reproduce the above copyright
13
* notice, this list of conditions and the following disclaimer in
14
* the documentation and/or other materials provided with the
17
* This work was supported in part by funding from the Defense Advanced
18
* Research Projects Agency and the National Science Foundation of the
19
* United States of America, and the CMU Sphinx Speech Consortium.
21
* THIS SOFTWARE IS PROVIDED BY CARNEGIE MELLON UNIVERSITY ``AS IS'' AND
22
* ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
23
* THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
24
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY
25
* NOR ITS EMPLOYEES BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
26
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
27
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
28
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
29
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
30
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
31
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33
* ====================================================================
36
/*********************************************************************
44
*********************************************************************/
56
#include <sphinxbase/prim_type.h>
57
#include <s3/model_def.h>
59
#define CONT_LABEL ".cont."
60
#define SEMI_LABEL ".semi."
61
#define PTM_LABEL ".ptm."
63
uint32 *semi_ts2cb(uint32 n_ts);
65
uint32 *cont_ts2cb(uint32 n_ts);
67
uint32 *ptm_ts2cb(model_def_t *mdef);
77
* Log record. Maintained by RCS.
80
* Revision 1.4 2004/07/21 17:46:10 egouvea
81
* Changed the license terms to make it the same as sphinx2 and sphinx3.
83
* Revision 1.3 2001/04/05 20:02:30 awb
84
* *** empty log message ***
86
* Revision 1.2 2000/09/29 22:35:12 awb
87
* *** empty log message ***
89
* Revision 1.1 2000/09/24 21:38:30 awb
90
* *** empty log message ***
92
* Revision 1.1 97/07/16 11:39:10 eht