mgpp_stem_idx(1)

NAME
mgpp_stem_idx - builds a stem index file

SYNOPSIS
mgpp_stem_idx [ -h ] [ -b entries-per-block ]
[ -a stemmer ] [ -d directory ]
-s 1|2|3 -f name

DESCRIPTION
mgpp_stem_idx generates a stem index file for a collection. This program should be called three times: once for each -s parameter. It uses the stemmed dictionary to create the stem index which contains pointers into the stemmed dictionary.

OPTIONS
Options may appear in any order.

-h  This displays a usage line on stderr.

-b entries-per-block
    The dictionary is stored in blocks on disk; this option is used to set the number of entries per block. The default is 16.

-a stemmer
    The name of the stemmer to use, the default is the Lovin stemmer.

-s 1|2|3
    The stem method to apply for the stem index.
    1 = casefolded and non-stemmed
    2 = non-casefolded and stemmed
    3 = casefolded and stemmed

-d directory
    This specifies the directory where the document collection can be found.

-f name
    This specifies the base name of the document collection.

ENVIRONMENT

MGDATA
    If this environment variable exists, then its value is used as the default directory where the mgpp collection files are. If this variable does not exist, then the directory “.” is used by default. The command line option -d directory overrides the directory in MGDATA.

FILES

*.invf.dict
    Compressed stemmed dictionary.

*.invf.dict.blocked.1
    Stem index with stem index method 1.

*.invf.dict.blocked.2
    Stem index with stem index method 2.

*.invf.dict.blocked.3
    Stem index with stem index method 3.

SEE ALSO
mgpp_compression_dict(1), mgpp_fast_comp_dict(1), mgpp_invf_dict(1), mgpp_passes(1), mgpp_perf_hash_build(1), mgpp_weights_build(1)