1 | .\"------------------------------------------------------------
|
---|
2 | .\" Id - set Rv,revision, and Dt, Date using rcs-Id tag.
|
---|
3 | .de Id
|
---|
4 | .ds Rv \\$3
|
---|
5 | .ds Dt \\$4
|
---|
6 | ..
|
---|
7 | .Id $Id: mgstemidxlist.1 3745 2003-02-20 21:20:24Z mdewsnip $
|
---|
8 | .\"------------------------------------------------------------
|
---|
9 | .TH mgstemidxlist 1 \*(Dt CITRI
|
---|
10 | .SH NAME
|
---|
11 | mgstemidxlist \- dumps the stem index file to STDOUT in ASCII format
|
---|
12 | .SH SYNOPSIS
|
---|
13 | .B mgstemidxlist
|
---|
14 | [
|
---|
15 | .B \-h
|
---|
16 | ]
|
---|
17 | [
|
---|
18 | .BI \-d " directory"
|
---|
19 | ]
|
---|
20 | .B \-s 1|2|3
|
---|
21 | .BI \-f " name"
|
---|
22 | .SH DESCRIPTION
|
---|
23 | .B mgstemidxlist
|
---|
24 | is a utility program which passes through the stem index and displays
|
---|
25 | the information. (This program was used for debugging but is included
|
---|
26 | for completeness!) The header information is printed out, then for each
|
---|
27 | block in the file the block header is displayed. For each word in the
|
---|
28 | stem index, the output is formatted as:
|
---|
29 |
|
---|
30 | .RS
|
---|
31 | .I number_of_references \*(lqword\*(rq
|
---|
32 | .br
|
---|
33 | .RS
|
---|
34 | .I "-> number_of_cases block 3-in-4_block offset"
|
---|
35 | .br
|
---|
36 | .I "-> ..."
|
---|
37 | .RE
|
---|
38 | .RE
|
---|
39 | .SH OPTIONS
|
---|
40 | Options may appear in any order.
|
---|
41 | .TP "\w'\fB\-d\fP \fIdirectory\fP'u+2n"
|
---|
42 | .B \-h
|
---|
43 | This displays a usage line on
|
---|
44 | .IR stderr .
|
---|
45 | .TP
|
---|
46 | .B -s 1|2|3
|
---|
47 | The stem index file with the associated stem method.
|
---|
48 | .br
|
---|
49 | 1 = casefolded and non-stemmed
|
---|
50 | .br
|
---|
51 | 2 = non-casefolded and stemmed
|
---|
52 | .br
|
---|
53 | 3 = casefolded and stemmed
|
---|
54 | .TP
|
---|
55 | .BI \-d " directory"
|
---|
56 | This specifies the directory where the document collection can be found.
|
---|
57 | .TP
|
---|
58 | .BI \-f " name"
|
---|
59 | This specifies the base name of the document collection.
|
---|
60 | .SH ENVIRONMENT
|
---|
61 | .TP "\w'\fBMGDATA\fP'u+2n"
|
---|
62 | .SB MGDATA
|
---|
63 | If this environment variable exists, then its value is used as the
|
---|
64 | default directory where the
|
---|
65 | .BR mg (1)
|
---|
66 | collection files are. If this variable does not exist, then the
|
---|
67 | directory \*(lq\fB.\fP\*(rq is used by default. The command line
|
---|
68 | option
|
---|
69 | .BI \-d " directory"
|
---|
70 | overrides the directory in
|
---|
71 | .BR MGDATA .
|
---|
72 | .SH FILES
|
---|
73 | .TP 25
|
---|
74 | .B *.invf.dict.blocked.1
|
---|
75 | Stem index with stem index method 1.
|
---|
76 | .TP
|
---|
77 | .B *.invf.dict.blocked.2
|
---|
78 | Stem index with stem index method 2.
|
---|
79 | .TP
|
---|
80 | .B *.invf.dict.blocked.3
|
---|
81 | Stem index with stem index method 3.
|
---|
82 | .SH "SEE ALSO"
|
---|
83 | .na
|
---|
84 | .BR mg (1),
|
---|
85 | .BR mg_invf_dict (1),
|
---|
86 | .BR mg_stem_idx (1).
|
---|