00001 00002 /*===================================================================== 00003 ======= COPYRIGHT NOTICE ======= 00004 Copyright (C) 1996, Carnegie Mellon University, Cambridge University, 00005 Ronald Rosenfeld and Philip Clarkson. 00006 00007 All rights reserved. 00008 00009 This software is made available for research purposes only. It may be 00010 redistributed freely for this purpose, in full or in part, provided 00011 that this entire copyright notice is included on any copies of this 00012 software and applications and derivations thereof. 00013 00014 This software is provided on an "as is" basis, without warranty of any 00015 kind, either expressed or implied, as to any matter including, but not 00016 limited to warranty of fitness of purpose, or merchantability, or 00017 results obtained from use of this software. 00018 ======================================================================*/ 00019 00024 #ifndef _TOOLKIT_H_ 00025 #define _TOOLKIT_H_ 00026 00027 #define DEFAULT_N 3 00028 #define DEFAULT_VERBOSITY 2 00029 #define MAX_VOCAB_SIZE 65535 00030 #define MAX_WORD_LENGTH_FORMAT "%499s" 00031 #define MAX_WORD_LENGTH 500 00032 00033 00034 00035 /* The following gives the amount of memory (in MB) which the toolkit 00036 will assign when allocating big chunks of memory for buffers. Note 00037 that the more memory that can be allocated, the faster things will 00038 run, so if you are running these tools on machines with 400 MB of 00039 RAM, then you could safely triple this figure. */ 00040 00041 #define STD_MEM 100 00042 #define DEFAULT_TEMP "/usr/tmp/" 00043 00044 #define SLM_VERSION 2.05 00045 00046 typedef unsigned short flag; 00047 00048 #endif