Changeset 2468 for trunk/gsdl/src/mgpp/text/mg_fast_comp_dict.cpp
- Timestamp:
- 2001-05-24T17:06:48+12:00 (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/mgpp/text/mg_fast_comp_dict.cpp
r2442 r2468 18 18 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 19 19 * 20 * $Id$21 *22 20 **************************************************************************/ 23 24 25 /*26 $Log$27 Revision 1.3 2001/05/17 04:38:15 jrm2128 portability changes, use getopt from unistd.h (all POSIX systems)29 30 Revision 1.2 2000/01/18 03:53:23 rjmcnab31 Fixed a couple of bugs and made building silent if needed.32 33 Revision 1.1 2000/01/14 02:26:13 sjboddie34 Rodgers new C++ mg35 36 Revision 1.2 1999/10/17 23:43:26 cs02537 Changes to eradicate Xmalloc38 39 Revision 1.1 1999/10/11 02:57:50 cs02540 Base install of MG-PP41 42 Revision 1.1 1999/08/10 21:18:06 sjboddie43 renamed mg-1.3d directory mg44 45 Revision 1.2 1998/11/25 07:55:44 rjmcnab46 47 Modified mg to that you can specify the stemmer you want48 to use via a command line option. You specify it to49 mg_passes during the build process. The number of the50 stemmer that you used is stored within the inverted51 dictionary header and the stemmed dictionary header so52 the correct stemmer is used in later stages of building53 and querying.54 55 Revision 1.1 1998/11/17 09:34:57 rjmcnab56 *** empty log message ***57 58 * Revision 1.3 1994/10/20 03:56:55 tes59 * I have rewritten the boolean query optimiser and abstracted out the60 * components of the boolean query.61 *62 * Revision 1.2 1994/09/20 04:41:47 tes63 * For version 1.164 *65 */66 21 67 22 #define _XOPEN_SOURCE 1 68 23 #define _XOPEN_SOURCE_EXTENDED 1 69 #include <unistd.h> 24 25 // need this to avoid bizarre compiler problems under VC++ 6.0 26 #if defined (__WIN32__) && !defined (GSDL_USE_IOS_H) 27 # include <iostream> 28 #endif 29 30 #if defined (__WIN32__) 31 # include "getopt.h" 32 #else 33 # include <unistd.h> 34 #endif 70 35 71 36 #include "sysfuncs.h" 72 73 37 #include "huffman.h" 74 38 #include "messages.h" … … 212 176 save_fast_dict (filename); 213 177 214 exit(0);178 return (0); 215 179 } 216 180 … … 708 672 } 709 673 710 711 674 static void 712 675 save_fast_dict (char *filename)
Note:
See TracChangeset
for help on using the changeset viewer.