.\"------------------------------------------------------------ .\" Id - set Rv,revision, and Dt, Date using rcs-Id tag. .de Id .ds Rv \\$3 .ds Dt \\$4 .. .Id $Id$ .\"------------------------------------------------------------ .TH mg_fast_comp_dict 1 \*(Dt CITRI .SH NAME mg_fast_comp_dict \- build a fast loading compression dictionary .SH SYNOPSIS .B mg_fast_comp_dict [ .B \-h ] [ .BI \-d " directory" ] .BI \-f " name" .SH DESCRIPTION .B mg_fast_comp_dict builds a fast-loading compression dictionary from the standard compression dictionary. The new dictionary has the property that .BR mgquery (1) can load it in very quickly, making the startup time for .BR mgquery (1) much shorter. The new dictionary is larger on disk than the original, but they are no different when it comes to memory usage. .SH OPTIONS Options may appear in any order. .TP "\w'\fB\-d\fP \fIdirectory\fP'u+2n" .B \-h This displays a usage line on .IR stderr . .TP .BI \-d " directory" This specifies the directory where the document collection can be found. .TP .BI \-f " name" This specifies the base name of the document collection. .SH ENVIRONMENT .TP "\w'\fBMGDATA\fP'u+2n" .SB MGDATA If this environment variable exists, then its value is used as the default directory where the mg collection files are. If this variable does not exist, then the directory \*(lq\fB.\fP\*(rq is used by default. The command line option .BI \-d " directory" overrides the directory in .BR MGDATA . .SH FILES .TP 20 .B *.text.dict Compression dictionary. .TP .B *.text.dict.fast Fast loading compression dictionary. .TP .B *.text.dict.aux Auxiliary compression dictionary. .SH "SEE ALSO" .na .BR mg_compression_dict (1), .BR mg_invf_dict (1), .BR mg_passes (1), .BR mg_perf_hash_build (1), .BR mg_stem_idx (1), .BR mg_weights_build (1)