Changeset 12915 for trunk/gsdl/src/mgpp/text/mgpp_stem_idx.cpp
- Timestamp:
- 2006-09-28T16:58:10+12:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/mgpp/text/mgpp_stem_idx.cpp
r12885 r12915 216 216 case '?': 217 217 fprintf (stderr, "usage: %s [-d directory] " 218 "[-b entries-per-block] [-h] -s 1|2|3 " 219 "[-a stemmer-method] -f name\n", argv[0]); 218 "[-b entries-per-block] [-h] -s 1|2|3", argv[0]); 219 #ifdef ENABLE_ACCENTFOLD 220 fprintf (stderr, "|4|5|6|7"); 221 #endif 222 fprintf (stderr, " [-a stemmer-method] -f name\n"); 220 223 exit (1); 221 224 } … … 225 228 if (stemMethod < STEM_MIN || stemMethod > STEM_MAX) 226 229 FatalError (1, "Stem method must be between %d and %d", STEM_MIN, STEM_MAX); 227 230 #ifndef ENABLE_ACCENTFOLD 231 if (stemMethod & STEM_AccentFolding) { 232 // accent folding not enabled 233 return -1; 234 } 235 #endif 228 236 // read in the dictionary and create the in memory dictionary 229 237 StemMapDict stemDict;
Note:
See TracChangeset
for help on using the changeset viewer.