Home | History | Annotate | Download | only in include
      1 /*---------------------------------------------------------------------------*
      2  *  hmm_type.h  *
      3  *                                                                           *
      4  *  Copyright 2007, 2008 Nuance Communciations, Inc.                               *
      5  *                                                                           *
      6  *  Licensed under the Apache License, Version 2.0 (the 'License');          *
      7  *  you may not use this file except in compliance with the License.         *
      8  *                                                                           *
      9  *  You may obtain a copy of the License at                                  *
     10  *      http://www.apache.org/licenses/LICENSE-2.0                           *
     11  *                                                                           *
     12  *  Unless required by applicable law or agreed to in writing, software      *
     13  *  distributed under the License is distributed on an 'AS IS' BASIS,        *
     14  *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *
     15  *  See the License for the specific language governing permissions and      *
     16  *  limitations under the License.                                           *
     17  *                                                                           *
     18  *---------------------------------------------------------------------------*/
     19 
     20 
     21 
     22 #ifndef _h_hmm_types
     23 #define _h_hmm_types
     24 
     25 #ifdef SET_RCSID
     26 static const char hmm_type_h[] = "$Id: hmm_type.h,v 1.1.10.5 2007/08/31 17:44:53 dahan Exp $";
     27 #endif
     28 
     29 
     30 #include <math.h>
     31 #include "all_defs.h"
     32 
     33 typedef ESR_BOOL  booldata; /* general boolean data */
     34 typedef int  scodata;        /* for path scores */
     35 typedef int  prdata;         /* for observation probabilities */
     36 typedef signed char     wtdata;
     37 typedef unsigned char   unidata;        /* for unimodal model storage */
     38 typedef unidata  moddata;        /* for segmental model storage */
     39 typedef double          covdata;        /* covariance data */
     40 typedef unsigned char   featdata;       /* for preprocessor data */
     41 typedef int             imeldata;       /* for preprocessor data */
     42 #define IMELDATA_TO_FEATDATA(X)   ((featdata)(X))
     43 typedef long  accdata;        /* for accumulate storage */
     44 typedef unsigned char   phonedata;      /* for model contexts */
     45 typedef phonedata conxdata;
     46 typedef int             latdata;        /* for lattice identifiers */
     47 
     48 #endif
     49