mgstemidxlist(1)

NAME
mgstemidxlist - dumps the stem index file to STDOUT in ASCII format

SYNOPSIS
mgstemidxlist [ -h ] [ -d directory ] -s 1|2|3 -f name

DESCRIPTION
mgstemidxlist is a utility program which passes through the stem index and displays the information. (This program was used for debugging but is included for completeness!) The header information is printed out, then for each block in the file the block header is displayed. For each word in the stem index, the output is formatted as:
    number_of_references “word”
        -> number_of_cases block 3-in-4_block offset
        -> ...

OPTIONS
Options may appear in any order.

-h  This displays a usage line on stderr.

-s 1|2|3
    The stem index file with the associated stem method.
    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 mg(1) 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.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
mg(1), mg_invf_dict(1), mg_stem_idx(1).