srch_flat_fwd.h
Go to the documentation of this file.
1 /* -*- c-basic-offset: 4; indent-tabs-mode: nil -*- */
2 /* ====================================================================
3  * Copyright (c) 1999-2004 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 
38 /*
39  * HISTORY
40  * $Log$
41  * Revision 1.1 2006/04/05 20:27:30 dhdfu
42  * A Great Reorganzation of header files and executables
43  *
44  * Revision 1.2 2006/02/23 05:16:14 arthchan2003
45  * Merged from branch SPHINX3_5_2_RCI_IRII_BRANCH: Add wrapper of flat_fwd.c
46  *
47  * Revision 1.1.2.5 2006/01/16 20:11:23 arthchan2003
48  * Interfaces for 2nd stage search, now commented.
49  *
50  * Revision 1.1.2.4 2005/11/17 06:42:15 arthchan2003
51  * Added back crossword triphone traversing timing for search. Also. for consistency with srch.c. Some dummy code of IBM lattice conversion was added. They are now bypassed because it is not fully function.
52  *
53  * Revision 1.1.2.3 2005/09/25 19:23:55 arthchan2003
54  * 1, Added arguments for turning on/off LTS rules. 2, Added arguments for turning on/off composite triphones. 3, Moved dict2pid deallocation back to dict2pid. 4, Tidying up the clean up code.
55  *
56  * Revision 1.1.2.2 2005/09/18 01:45:19 arthchan2003
57  * Filled in all implementation in srch_flat_fwd.[ch], like the FSG mode, it takes care of reporting itselft.
58  *
59  * Revision 1.1.2.1 2005/07/24 01:40:37 arthchan2003
60  * (Incomplete) The implementation of flat-lexicon decoding.
61  *
62  *
63  *
64  */
65 
66 /* \file srch_flat_fwd.h
67  *
68  * SOME ASSUMPTIONS
69  * - All phones (ciphones and triphones) have same HMM topology with n_state states.
70  * - Initial state = state 0; final state = state n_state-1.
71  * - Final state is a non-emitting state with no arcs out of it.
72  * - Some form of Bakis topology (ie, no cycles, except for self-transitions).
73  *
74  */
75 
76 #ifndef SRCH_FLT_FWD
77 #define SRCH_FLT_FWD
78 
79 extern struct srch_funcs_s srch_FLAT_FWD_funcs;
80 
81 #endif /* SRCH_FLT_FWD*/