00001 00017 /* 00018 * Copyright (c) 1991-2006 Kawahara Lab., Kyoto University 00019 * Copyright (c) 2000-2005 Shikano Lab., Nara Institute of Science and Technology 00020 * Copyright (c) 2005-2006 Julius project team, Nagoya Institute of Technology 00021 * All rights reserved 00022 */ 00023 00024 #ifndef __J_BEAM_H__ 00025 #define __J_BEAM_H__ 00026 00028 typedef int TOKENID; 00029 00031 #define TOKENID_UNDEFINED -1 00032 00034 typedef struct { 00035 TRELLIS_ATOM *last_tre; 00036 #ifdef USE_NGRAM 00037 WORD_ID last_cword; 00038 LOGPROB last_lscore; 00039 #endif 00040 LOGPROB score; 00041 int node; 00042 #ifdef WPAIR 00043 TOKENID next; 00044 #endif 00045 } TOKEN2; 00046 00047 #define FILLWIDTH 70 00048 00049 #endif /* __J_BEAM_H__ */