Main Page | Modules | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

version.c

00001 
00021 /*
00022  * Copyright (c) 1991-2006 Kawahara Lab., Kyoto University
00023  * Copyright (c) 2000-2005 Shikano Lab., Nara Institute of Science and Technology
00024  * Copyright (c) 2005-2006 Julius project team, Nagoya Institute of Technology, Nagoya Institute of Technology
00025  * All rights reserved
00026  */
00027 
00028 /* Generated automatically from version.c.in by configure. */
00029 
00030 #include <julius.h>
00031 
00032 #define CC "gcc"
00033 #define CFLAGS "-O6 -fomit-frame-pointer"
00034 
00047 void
00048 put_header(FILE *strm){
00049   fprintf(strm,"%s rev.%s (%s)\n\n", PRODUCTNAME, VERSION, SETUP);
00050 }
00051 
00064 void
00065 put_version(FILE *strm){
00066   fprintf(strm,"\n%s rev.%s (%s)  built for %s\n\n",
00067           PRODUCTNAME, VERSION, SETUP, HOSTINFO);
00068   fprintf(strm,"Copyright (c) 1991-2006 Kawahara Lab., Kyoto University\n");
00069 #ifdef USE_NGRAM
00070   fprintf(strm,"Copyright (c) 1997-2000 Information-technology Promotion Agency, Japan\n");
00071 #endif
00072   fprintf(strm,"Copyright (c) 2000-2005 Shikano Lab., Nara Institute of Science and Technology\n");
00073   fprintf(strm,"Copyright (c) 2005-2006 Julius project team, Nagoya Institute of Technology, Nagoya Institute of Technology\n\n");
00074 }
00075 
00088 void
00089 put_compile_defs(FILE *strm){
00090   fprintf(strm,"Engine configuration:\n");
00091   fprintf(strm," - Base setup : %s\n", SETUP);
00092   fprintf(strm," - Tunings    :");
00093 #ifdef USE_DFA
00094   fprintf(strm, " DFA");
00095 #else  /* USE_NGRAM */
00096   fprintf(strm, " N-gram");
00097 #ifndef UNIGRAM_FACTORING
00098   fprintf(strm, ", 2gramFactoring");
00099 #endif
00100 #endif
00101 
00102 #ifdef GRAPHOUT
00103 # ifdef GRAPHOUT_DYNAMIC
00104 #  ifdef GRAPHOUT_SEARCH
00105   fprintf(strm, ", GraphOutSearch");
00106 #  else
00107   fprintf(strm, ", GraphOutDynamic");
00108 #  endif
00109 # else 
00110   fprintf(strm, ", GraphOutNBest");
00111 # endif
00112 # ifndef GRAPHOUT_PRECISE_BOUNDARY
00113   fprintf(strm, ", DisableGraphOutPostFitting");
00114 # endif
00115 #endif
00116 
00117 #ifdef CM_SEARCH_LIMIT
00118 # ifdef CM_SEARCH_LIMIT_AFTER
00119   fprintf(strm, ", CMPruning_OnlyAfterReached");
00120 # else
00121   fprintf(strm, ", CMPruning");
00122 # endif
00123 # ifdef CM_SEARCH_LIMIT_POP
00124   fprintf(strm, ", CMPruningOnPOP");
00125 # endif
00126 #endif  
00127 
00128 #ifdef USE_NGRAM
00129 # ifndef LM_FIX_DOUBLE_SCORING
00130   fprintf(strm, ", NoLMFix");
00131 # endif
00132 #endif
00133 
00134 #ifdef USE_NGRAM
00135 # ifndef CLASS_NGRAM
00136   fprintf(strm, ", NoClassNGram");
00137 # endif
00138 #endif
00139 #ifdef WORDS_INT
00140   fprintf(strm, ", WordsInt");
00141 #endif
00142 
00143 #ifdef USE_NGRAM
00144 # ifdef LOWMEM
00145   fprintf(strm, ", SingleTree");
00146 # else
00147 #  ifdef LOWMEM2
00148   /* fprintf(strm, ", HiFreqLinearTree");*/
00149 #  else
00150   fprintf(strm, ", ShortWordTree");
00151 #  endif
00152 # endif
00153 #endif /* USE_NGRAM */
00154 
00155 #ifdef USE_DFA
00156 # ifndef CATEGORY_TREE
00157   fprintf(strm, ", NoCategoryTree");
00158 # endif
00159 #endif
00160 
00161 #ifdef MONOTREE
00162   fprintf(strm, ", MonoTree1");
00163 #endif
00164 #ifndef SCAN_BEAM
00165   fprintf(strm, ", NoScoreEnvelope");
00166 #endif
00167 #ifndef PASS1_IWCD
00168   fprintf(strm, ", NoIWCD1");
00169 #endif
00170 #ifdef PASS2_STRICT_IWCD
00171   fprintf(strm, ", StrictIWCD2");
00172 #endif
00173 
00174 #ifdef WPAIR
00175 # ifdef WPAIR_KEEP_NLIMIT
00176   fprintf(strm, ", WordPairNApprox");
00177 # else
00178   fprintf(strm, ", WordPairApprox");
00179 # endif
00180 #endif
00181 
00182 #ifdef WORD_GRAPH
00183   fprintf(strm, ", WordGraph");
00184 #endif
00185 
00186 #ifdef SP_BREAK_CURRENT_FRAME
00187   fprintf(strm, ", ShortPauseSegment");
00188 #endif
00189 
00190 #ifndef CONFIDENCE_MEASURE
00191   fprintf(strm, ", NoCM");
00192 #else
00193 # ifdef CM_NBEST
00194   fprintf(strm, ", N-bestCM");
00195 # endif
00196 # ifdef CM_MULTIPLE_ALPHA
00197   fprintf(strm, ", MultiCMOutput");
00198 # endif
00199 #endif /* CONFIDENCE_MEASURE */
00200 
00201 #ifndef USE_MIC
00202   fprintf(strm, ", NoMic");
00203 #endif
00204 #ifdef USE_NETAUDIO
00205   fprintf(strm, ", NetAudio");
00206 #endif
00207 #ifndef HAVE_PTHREAD
00208   fprintf(strm, ", NoThreaded");
00209 #endif
00210 #ifdef HAVE_LIBSNDFILE
00211   fprintf(strm, ", LibSndFile");
00212 #endif
00213 
00214 #ifdef VISUALIZE
00215   fprintf(strm, ", Visualize");
00216 #endif
00217 
00218 #ifdef FORK_ADINNET
00219   fprintf(strm, ", ForkOnAdinnet");
00220 #endif
00221 
00222 #ifndef MFCC_SINCOS_TABLE
00223   fprintf(strm, ", DisableMFCCTable");
00224 #endif
00225 
00226 #ifndef LM_FIX_DOUBLE_SCORING
00227   fprintf(strm, ", DisableLMFix3.4");
00228 #endif
00229 
00230 #ifdef USE_LIBJCODE
00231   fprintf(strm, ", Libjcode");
00232 #endif
00233   
00234 #ifdef HAVE_ICONV
00235   fprintf(strm, ", IconvOutput");
00236 #endif
00237 
00238   fprintf(strm, "\n");
00239   fprintf(strm," - Compiled by: %s %s\n", CC, CFLAGS);
00240 }

Generated on Tue Mar 28 16:01:38 2006 for Julius by  doxygen 1.4.2