root / trunk / OSX / addons / ofxASR / libs / sphinx / include / sphinx3 / srch_time_switch_tree.h @ 44
View | Annotate | Download (3.4 KB)
| 1 | 44 | jimbo | /* -*- c-basic-offset: 4; indent-tabs-mode: nil -*- */
|
|---|---|---|---|
| 2 | 44 | jimbo | /* ====================================================================
|
| 3 | 44 | jimbo | * Copyright (c) 1999-2004 Carnegie Mellon University. All rights |
| 4 | 44 | jimbo | * reserved. |
| 5 | 44 | jimbo | * |
| 6 | 44 | jimbo | * Redistribution and use in source and binary forms, with or without |
| 7 | 44 | jimbo | * modification, are permitted provided that the following conditions |
| 8 | 44 | jimbo | * are met: |
| 9 | 44 | jimbo | * |
| 10 | 44 | jimbo | * 1. Redistributions of source code must retain the above copyright |
| 11 | 44 | jimbo | * notice, this list of conditions and the following disclaimer. |
| 12 | 44 | jimbo | * |
| 13 | 44 | jimbo | * 2. Redistributions in binary form must reproduce the above copyright |
| 14 | 44 | jimbo | * notice, this list of conditions and the following disclaimer in |
| 15 | 44 | jimbo | * the documentation and/or other materials provided with the |
| 16 | 44 | jimbo | * distribution. |
| 17 | 44 | jimbo | * |
| 18 | 44 | jimbo | * This work was supported in part by funding from the Defense Advanced |
| 19 | 44 | jimbo | * Research Projects Agency and the National Science Foundation of the |
| 20 | 44 | jimbo | * United States of America, and the CMU Sphinx Speech Consortium. |
| 21 | 44 | jimbo | * |
| 22 | 44 | jimbo | * THIS SOFTWARE IS PROVIDED BY CARNEGIE MELLON UNIVERSITY ``AS IS'' AND |
| 23 | 44 | jimbo | * ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, |
| 24 | 44 | jimbo | * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
| 25 | 44 | jimbo | * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY |
| 26 | 44 | jimbo | * NOR ITS EMPLOYEES BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
| 27 | 44 | jimbo | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
| 28 | 44 | jimbo | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 29 | 44 | jimbo | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 30 | 44 | jimbo | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 31 | 44 | jimbo | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 32 | 44 | jimbo | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 33 | 44 | jimbo | * |
| 34 | 44 | jimbo | * ==================================================================== |
| 35 | 44 | jimbo | * |
| 36 | 44 | jimbo | */ |
| 37 | 44 | jimbo | |
| 38 | 44 | jimbo | /* srch_time_switch_tree.h
|
| 39 | 44 | jimbo | * HISTORY |
| 40 | 44 | jimbo | * $Log$ |
| 41 | 44 | jimbo | * Revision 1.1 2006/04/05 20:27:30 dhdfu |
| 42 | 44 | jimbo | * A Great Reorganzation of header files and executables |
| 43 | 44 | jimbo | * |
| 44 | 44 | jimbo | * Revision 1.3 2006/02/23 16:46:50 arthchan2003 |
| 45 | 44 | jimbo | * Merged from branch SPHINX3_5_2_RCI_IRII_BRANCH: |
| 46 | 44 | jimbo | * 1, Used the corresponding lextree interface. |
| 47 | 44 | jimbo | * 2, 2nd-stage search logic are all commented. |
| 48 | 44 | jimbo | * |
| 49 | 44 | jimbo | * Revision 1.2.4.3 2006/01/16 20:14:02 arthchan2003 |
| 50 | 44 | jimbo | * Remove the unlink silences part because that could affect the performance of the 1st pass search when -bestpath is specified. |
| 51 | 44 | jimbo | * |
| 52 | 44 | jimbo | * Revision 1.2.4.2 2005/07/07 02:38:35 arthchan2003 |
| 53 | 44 | jimbo | * 1, Remove -lminsearch, 2 Remove rescoring interface in the header. |
| 54 | 44 | jimbo | * |
| 55 | 44 | jimbo | * Revision 1.2.4.1 2005/07/04 07:20:48 arthchan2003 |
| 56 | 44 | jimbo | * 1, Ignored -lmsearch, 2, cleaned up memory, 3 added documentation of TST search. |
| 57 | 44 | jimbo | * |
| 58 | 44 | jimbo | * Revision 1.2 2005/06/22 02:45:52 arthchan2003 |
| 59 | 44 | jimbo | * Log. Implementation of word-switching tree. Currently only work for a |
| 60 | 44 | jimbo | * very small test case and it's deliberately fend-off from users. Detail |
| 61 | 44 | jimbo | * omitted. |
| 62 | 44 | jimbo | * |
| 63 | 44 | jimbo | * Revision 1.8 2005/05/11 00:18:46 archan |
| 64 | 44 | jimbo | * Add comments on srch.h and srch_time_switch_tree.h and srch_debug.h on how things work. A very detail comment is added in srch.h to describe how generally srch_t is interacting with other parts of the code. |
| 65 | 44 | jimbo | * |
| 66 | 44 | jimbo | * |
| 67 | 44 | jimbo | * 17-Mar-2005 A. Chan ([email protected]) at Carnegie Mellon University |
| 68 | 44 | jimbo | * Started. Time switching tree implementation. |
| 69 | 44 | jimbo | */ |
| 70 | 44 | jimbo | |
| 71 | 44 | jimbo | |
| 72 | 44 | jimbo | #ifndef _SRCH_TST_H_
|
| 73 | 44 | jimbo | #define _SRCH_TST_H_
|
| 74 | 44 | jimbo | |
| 75 | 44 | jimbo | extern struct srch_funcs_s srch_TST_funcs; |
| 76 | 44 | jimbo | |
| 77 | 44 | jimbo | #endif
|
| 78 | 44 | jimbo | |
| 79 | 44 | jimbo | |
| 80 | 44 | jimbo | |
| 81 | 44 | jimbo | |
| 82 | 44 | jimbo |
