Changeset 2529
- Timestamp:
- 2001-06-13T10:26:10+12:00 (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/perllib/classify/phind.pm
r2510 r2529 362 362 # Use the suffix program to generate the phind/phrases file 363 363 print $out "\nExtracting phrases from processed text (with suffix)\n" if $verbosity; 364 &execute("suffix $phinddir$suffixmode $verbosity", $verbosity, $out);364 &execute("suffix \"$phinddir\" $suffixmode $verbosity", $verbosity, $out); 365 365 366 366 # Create the phrase file and put phrase numbers in phind/phrases … … 372 372 my $mg_stem = &util::filename_cat($phinddir, "pdata"); 373 373 374 &execute("mgpp_passes $osextra -f $mg_stem -T1 $mg_input", $verbosity, $out);375 &execute("mgpp_compression_dict $osextra -f $mg_stem", $verbosity, $out);376 &execute("mgpp_passes $osextra -f $mg_stem -T2 $mg_input", $verbosity, $out);374 &execute("mgpp_passes $osextra -f \"$mg_stem\" -T1 \"$mg_input\"", $verbosity, $out); 375 &execute("mgpp_compression_dict $osextra -f \"$mg_stem\"", $verbosity, $out); 376 &execute("mgpp_passes $osextra -f \"$mg_stem\" -T2 \"$mg_input\"", $verbosity, $out); 377 377 378 378 # create the mg index of words … … 381 381 $mg_stem = &util::filename_cat($phinddir, "pword"); 382 382 383 &execute("mgpp_passes $osextra -f $mg_stem -T1 -I1 $mg_input", $verbosity, $out);384 &execute("mgpp_compression_dict $osextra -f $mg_stem", $verbosity, $out);385 &execute("mgpp_perf_hash_build $osextra -f $mg_stem", $verbosity, $out);386 &execute("mgpp_passes $osextra -f $mg_stem -T2 -I2 $mg_input", $verbosity, $out);387 &execute("mgpp_weights_build $osextra -f $mg_stem", $verbosity, $out);388 &execute("mgpp_invf_dict $osextra -f $mg_stem", $verbosity, $out);389 390 &execute("mgpp_stem_idx $osextra -f $mg_stem-s 1", $verbosity, $out);391 &execute("mgpp_stem_idx $osextra -f $mg_stem-s 2", $verbosity, $out);392 &execute("mgpp_stem_idx $osextra -f $mg_stem-s 3", $verbosity, $out);383 &execute("mgpp_passes $osextra -f \"$mg_stem\" -T1 -I1 \"$mg_input\"", $verbosity, $out); 384 &execute("mgpp_compression_dict $osextra -f \"$mg_stem\"", $verbosity, $out); 385 &execute("mgpp_perf_hash_build $osextra -f \"$mg_stem\"", $verbosity, $out); 386 &execute("mgpp_passes $osextra -f \"$mg_stem\" -T2 -I2 \"$mg_input\"", $verbosity, $out); 387 &execute("mgpp_weights_build $osextra -f \"$mg_stem\"", $verbosity, $out); 388 &execute("mgpp_invf_dict $osextra -f \"$mg_stem\"", $verbosity, $out); 389 390 &execute("mgpp_stem_idx $osextra -f \"$mg_stem\" -s 1", $verbosity, $out); 391 &execute("mgpp_stem_idx $osextra -f \"$mg_stem\" -s 2", $verbosity, $out); 392 &execute("mgpp_stem_idx $osextra -f \"$mg_stem\" -s 3", $verbosity, $out); 393 393 394 394 # create the mg document information database … … 397 397 $mg_stem = &util::filename_cat($phinddir, "docs"); 398 398 399 &execute("mgpp_passes $osextra -f $mg_stem -T1 $mg_input", $verbosity, $out);400 &execute("mgpp_compression_dict $osextra -f $mg_stem", $verbosity, $out);401 &execute("mgpp_passes $osextra -f $mg_stem -T2 $mg_input", $verbosity, $out);399 &execute("mgpp_passes $osextra -f \"$mg_stem\" -T1 \"$mg_input\"", $verbosity, $out); 400 &execute("mgpp_compression_dict $osextra -f \"$mg_stem\"", $verbosity, $out); 401 &execute("mgpp_passes $osextra -f \"$mg_stem\" -T2 \"$mg_input\"", $verbosity, $out); 402 402 403 403 # Return the information about the classifier that we'll later want to
Note:
See TracChangeset
for help on using the changeset viewer.