Changeset 2468 for trunk/gsdl/src/mgpp/text/mg_weights_build.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_weights_build.cpp
r2442 r2468 18 18 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 19 19 * 20 * $Id$21 *22 20 **************************************************************************/ 21 23 22 #define _XOPEN_SOURCE 1 24 23 #define _XOPEN_SOURCE_EXTENDED 1 25 #include <unistd.h> 26 24 25 #if defined (__WIN32__) 26 # include "getopt.h" 27 #else 28 # include <unistd.h> 29 #endif 30 31 #include "UCArray.h" 27 32 #include "sysfuncs.h" 28 33 #include "memlib.h" … … 31 36 #include "bitio_gen.h" 32 37 #include "bitio_m_stdio.h" 33 34 38 #include "mg_files.h" 35 39 #include "locallib.h" 36 40 #include "invf.h" 37 // #include "WordData.h"38 #include "UCArray.h"39 41 #include "FIvfLevelInfo.h" 40 42 #include "FragLevelConvert.h" … … 47 49 # include <map> 48 50 #endif 49 50 51 /*52 $Log$53 Revision 1.4 2001/05/17 04:38:16 jrm2154 portability changes, use getopt from unistd.h (all POSIX systems)55 56 Revision 1.3 2000/01/18 23:24:19 rjmcnab57 fixed a few more bugs58 59 Revision 1.2 2000/01/18 03:53:24 rjmcnab60 Fixed a couple of bugs and made building silent if needed.61 62 Revision 1.1 2000/01/14 02:26:21 sjboddie63 Rodgers new C++ mg64 65 Revision 1.1 1999/10/11 02:58:06 cs02566 Base install of MG-PP67 68 Revision 1.1 1999/08/10 21:18:16 sjboddie69 renamed mg-1.3d directory mg70 71 Revision 1.2 1998/11/25 07:55:49 rjmcnab72 73 Modified mg to that you can specify the stemmer you want74 to use via a command line option. You specify it to75 mg_passes during the build process. The number of the76 stemmer that you used is stored within the inverted77 dictionary header and the stemmed dictionary header so78 the correct stemmer is used in later stages of building79 and querying.80 81 Revision 1.1 1998/11/17 09:35:22 rjmcnab82 *** empty log message ***83 84 * Revision 1.4 1994/11/29 00:32:05 tes85 * Committing the new merged files and changes.86 *87 * Revision 1.3 1994/10/20 03:57:00 tes88 * I have rewritten the boolean query optimiser and abstracted out the89 * components of the boolean query.90 *91 * Revision 1.2 1994/09/20 04:41:55 tes92 * For version 1.193 *94 */95 51 96 52 #define MAXBITS (sizeof(unsigned long) * 8)
Note:
See TracChangeset
for help on using the changeset viewer.