• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*---------------------------------------------------------------------------*
2  *  hmmlib.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 #ifndef _h_hmmlib_
22 #define _h_hmmlib_
23 
24 #ifdef SET_RCSID
25 static const char hmmlib_h[] = "$Id: hmmlib.h,v 1.4.6.8 2008/01/21 20:30:05 dahan Exp $";
26 #endif
27 
28 
29 #include "hmm_desc.h"
30 #include "ESR_Locale.h"
31 
32 int read_word_transcription(const LCHAR* basename, vocab_info* voc, ESR_Locale* locale);
33 void delete_word_transcription(vocab_info* voc);
34 int get_prons(const vocab_info* voc, const char* label, char* prons, int prons_len);
35 
36 int mmap_zip(const char* fname, void** buf, size_t* size);
37 int munmap_zip(void* buf, size_t size);
38 
39 #endif /* _h_hmmlib_ */
40