Debian Codegraph @

perlindex.PL

raw symbols ◀ ▶
Source reconstructed at patch state 0 of 2 — not the installed (fully patched) source.
2 Debian patches touch this file
1 #!/usr/local/bin/perl
2
3 use Config;
4 use File::Basename qw(&basename &dirname);
5
6 # List explicitly here the variables you want Configure to
7 # generate. Metaconfig only looks for shell variables, so you
8 # have to mention them as if they were shell variables, not
9 # %Config entries. Thus you write
10 # $startperl
11 # to ensure Configure will look for $Config{startperl}.
12
13 # This forces PL files to create target in same directory as PL file.
14 # This is so that make depend always knows where to find PL derivatives.
15 chdir(dirname($0));
16 ($file = basename($0)) =~ s/\.PL$//;
17 $file =~ s/\.pl$//
18 if ($Config{'osname'} eq 'VMS' or
19 $Config{'osname'} eq 'OS2'); # "case-forgiving"
20 open OUT,">$file" or die "Can't create $file: $!";
21
22 print "Extracting $file (with variable substitutions)\n";
23 chmod 0775, $file;
24
25 # In this section, perl variables will be expanded during extraction.
26 # You can use $Config{...} to use Configure variables.
27
28 print OUT <<"!GROK!THIS!";
29 $Config{'startperl'}
30 eval 'exec perl -S \$0 "\$@"'
31 if 0;
32 !GROK!THIS!
33 print OUT <<'!NO!SUBS!';
34 # -*- Mode: Perl -*-
35 # Author : Ulrich Pfeifer
36 # Created On : Mon Jan 22 13:00:41 1996
37 # Last Modified On: Sun Jan 6 22:26:28 2013
38 # Language : Perl
39 # Update Count : 399
40 # Status : Unknown, Use with caution!
41 #
42 # (C) Copyright 1996-2005, Ulrich Pfeifer, all rights reserved.
43 # This file is free software; you can redistribute it and/or modify it
44 # under the same terms as Perl itself.
45 #
46 #
47 # %SEEN is used to store the mtime and absolute pathes to
48 # files which have been indexed.
49 #
50 # %FN $FN{'last'} greatest documentid
51 # $FN{$did} a pair of $mtf and $filename where $mtf is the
52 # number of occurances of the most frequent word in
53 # the document with number $did.
54 #
55 # %IDF $IDF{'*all*'} number of documents (essentially the same as
56 # $FN{'last'})
57 # $IDF{$word} number of documents containing $word
58 #
59 # %IF $IF{$word} list of pairs ($docid,$tf) where $docid is
60 # the number of a document containing $word $tf
61 #
62 use Fcntl;
63 use less 'time';
64 use Getopt::Long;
65 use File::Basename;
66 use Text::English;
67 use Config;
68
69 # NDBM_File as LAST resort
70 BEGIN { @AnyDBM_File::ISA = qw(DB_File GDBM_File SDBM_File ODBM_File NDBM_File) }
71 use AnyDBM_File;
72
73 !NO!SUBS!
74
75 eval "\$x = pack 'w', 1;";
76 if ($x eq "\001") {
77 print OUT "\$p = 'w'; # compressed int patch available\n";
78 } else {
79 print OUT "\$p = 'S'; # change to 'I' for large collections\n";
80 }
81
82 $index_dir = $Config{'man1direxp'};
83 $index_dir =~ s:/[^/]*$::;
84 $index_dir = $ENV{'INDEXDIR'} if $ENV{'INDEXDIR'};
85
86 print OUT <<"EOC";
87 \$nroff = \'$Config{'nroff'}\' || \'nroff\';
88 \$man1direxp = \'$Config{'man1direxp'}\';
89 \$man3direxp = \'$Config{'man3direxp'}\';
90 \$IDIR = \'$index_dir\';
91 \$prefix = \'$Config{'prefix'}\';
92 EOC
93 ;
94
95 # Use Term::ReadKey for character-at-a-time input if available.
96 # Else use "stty cbreak" if BSD, "stty icanon" if non-BSD.
97 if (eval 'require Term::ReadKey') {
98 print OUT "use Term::ReadKey;\n";
99 $BSD_STYLE= -1;
100 } elsif ($Config{'d_bsd'}) {
101 $BSD_STYLE= 1;
102 } else {
103 $BSD_STYLE= 0;
104 }
105
106 # # Let's look for a stemmer
107 # eval "use Text::English;";
108 # unless ($@) {
109 # $stemmer = \&Text::English::stem;
110 # } else {
111 # eval "require 'Stem.pl';";
112 # unless ($@) {
113 # $stemmer = \&stem;
114 # }
115 # }
116
117 # In the following, perl variables are not expanded during extraction.
118
119 print OUT <<'!NO!SUBS!';
120
121 $pager= $Config{'pager'};
122 if ($Config{'osname'} eq 'hpux') {
123 $pager= "col | $pager";
124 }
125 if (exists $ENV{PAGER}) {
126 $pager=$ENV{PAGER}
127 }
128 $stemmer = \&Text::English::stem;
129 $debug = 0;
130 $opt_index = ''; # make perl -w happy
131 $opt_menu = 1;
132 $opt_maxhits = 20;
133 $opt_cbreak = 1;
134 &GetOptions(
135 'index',
136 'cbreak!',
137 'maxhits=i',
138 'menu!',
139 'verbose',
140 'dict:i',
141 'idir=s',
142 ) || die "Usage: $0 [-index] [words ...]\n";
143
144 if (defined $opt_idir) {
145 $IDIR = $opt_idir; # avoid to many changes below.
146 }
147
148 if (defined $opt_dict) {
149 $opt_dict ||= 100;
150 }
151
152 my $GC_REQUIRED = 0; # garbage collect required? Global variable.
153
154 if ($opt_index) {
155
156 # check whether we can use Pod::Text to extract POD
157 $PodText = 0;
158 eval {
159 require Pod::Text;
160 print "Using Pod::Text\n";
161 $PodText = 1;
162 };
163
164
165 $IoScalar = 0;
166 eval {
167 require IO::Scalar;
168 print "Using IO::Scalar\n";
169 $IoScalar = 1;
170 };
171
172 &initstop;
173
174 tie (%IF, AnyDBM_File, "$IDIR/index_if", O_CREAT|O_RDWR, 0644)
175 or die "Could not tie $IDIR/index_if: $!\n";
176 tie (%IDF, AnyDBM_File, "$IDIR/index_idf", O_CREAT|O_RDWR, 0644)
177 or die "Could not tie $IDIR/index_idf: $!\n";
178 tie (%SEEN, AnyDBM_File, "$IDIR/index_seen", O_CREAT|O_RDWR, 0644)
179 or die "Could not tie $IDIR/index_seen: $!\n";
180 tie (%FN, AnyDBM_File, "$IDIR/index_fn", O_CREAT|O_RDWR, 0644)
181 or die "Could not tie $IDIR/index_fn: $!\n";
182
183 require File::Find;
184
185 unless (@ARGV) { # breaks compatibility :-(
186 my %seen;
187 my @perllib = grep(length && -d && !$seen{$_}++,
188 @Config{qw(installprivlib installarchlib installsitelib installvendorlib installscript installsitearch)});
189
190 for $dir (@perllib) {
191 print "Scanning $dir ... \n";
192 if (-l $dir) { # debian symlinks installarchlib but we do not want to follow links in general
193 my $target = readlink $dir;
194 $dir =~ s:[^/]+$:$target:;
195 }
196 File::Find::find( \&wanted, $dir );
197 }
198 }
199
200 for $name (@ARGV) {
201 add_to_index($name);
202 }
203 # Check if all (previuosly) indexed files are still available
204 # This may take some time.
205 warn "Validating index ...\n";
206 while (my ($fns, $value) = each %SEEN) {
207 my $path = $fns; $path = $prefix.'/'.$path unless $path =~ m:^/:;
208 unless (-f $path) {
209 my ($mtime, $did) = unpack "$p$p", $value;
210 # mark document as deleted
211 warn "Marking document $did ($fns) as deleted\n";
212 delete $FN{$did};
213 delete $SEEN{$fns};
214 $GC_REQUIRED++;
215 }
216 }
217 if ($GC_REQUIRED) {
218 print STDERR "Garbage collecting\r";
219 # garbage collection, this is awfully slow
220 my $progress = 0;
221 my $words = keys %IF;
222 my %if_new;
223 tie (%if_new, AnyDBM_File, "$IDIR/index_if.new", O_CREAT|O_RDWR, 0644)
224 or die "Could not tie $IDIR/index_if: $!\n";
225 while (my ($word,$list) = each %IF) {
226 print STDERR "Garbage collecting ".(++$progress)."/".$words."\r";
227 my %post = unpack($p.'*',$list);
228
229 #delete $IF{$word};
230 $IDF{$word} = 0;
231 while (my ($did,$tf) = each %post) {
232 if (exists $FN{$did}) {
233 $if_new{$word} = '' unless defined $if{$word}; # perl -w
234 $if_new{$word} .= pack($p.$p, $did, $tf);
235 $IDF{$word}++;
236 }
237 }
238 }
239 untie %if_new;
240 untie %IF;
241 opendir(IDX, $IDIR) or die "Could not read dir '$IDIR': $!";
242 for $file (readdir DIR) {
243 my $old = $file;
244 if ($file =~ s/^index_if\.new/index_if/) {
245 rename "$IDIR/$old", "$IDIR/$file";
246 }
247 }
248 print STDERR "\rGarbage collecting ... done";
249 }
250 untie %IF unless $GC_REQUIRED;
251 untie %IDF;
252 untie %FN;
253 untie %SEEN;
254 } elsif ($opt_dict) {
255 tie (%IDF, AnyDBM_File, "$IDIR/index_idf", O_RDONLY, 0644)
256 or die "Could not tie $IDIR/index_idf: $!\n".
257 "Did you run '$0 -index'?\n";
258 while (($key,$val) = each %IDF) {
259 printf "%-20s %d\n", $key, $val if $val >= $opt_dict;
260 }
261 untie %IDF;
262 } else {
263 tie (%IF, AnyDBM_File, "$IDIR/index_if", O_RDONLY, 0644)
264 or die "Could not tie $IDIR/index_if: $!\n".
265 "Did you run '$0 -index'?\n";
266 tie (%IDF, AnyDBM_File, "$IDIR/index_idf", O_RDONLY, 0644)
267 or die "Could not tie $IDIR/index_idf: $!\n";
268 tie (%FN, AnyDBM_File, "$IDIR/index_fn", O_RDONLY, 0644)
269 or die "Could not tie $IDIR/index_fn: $!\n";
270 &search(@ARGV);
271 untie %IF;
272 untie %IDF;
273 untie %FN;
274 untie %SEEN;
275 }
276
277 sub wanted {
278 my $fns = $File::Find::name;
279
280 if ($File::Find::name eq $man3direxp) {
281 $File::Find::prune = 1;
282 }
283 if (-f $_ and $File::Find::name =~ /man|bin|\.(pod|pm|txt)$/) {
284 add_to_index($File::Find::name);
285 }
286 }
287
288 sub index {
289 my $fn = shift;
290 my $fns = shift;
291 my $did = shift;
292 my %tf;
293 my $maxtf = 0;
294
295 if ($fn =~ /\.txt$/) {
296 open (IN, "<$fn") || warn "Could not open $fn: $!\n", return (0);
297 while ($line = <IN>) {
298 warn "=> $line\n" if $debug;
299 for $word (&normalize($line)) {
300 next if $stop{$word};
301 $tf{$word}++;
302 }
303 }
304 close IN;
305 } elsif($PodText and -T $fn) {
306 my $result;
307 my $parser = Pod::Text->new(sentence => 0, width => 78);
308 if ($IoScalar) {
309 my $tmpfile = new IO::Scalar;
310 open(IN,"<$fn");
311 $parser->parse_from_filehandle(*IN, $tmpfile);
312 warn "===> $fn, $tmpfile" if $debug;
313 #for my $line (split /\n/, $tmpfile) {
314 while ($tmpfile =~ s/^(.*\n)//) {
315 warn "=> $1\n" if $debug;
316 for $word (&normalize($1)) {
317 next if $stop{$word};
318 $tf{$word}++;
319 }
320 }
321 close IN;
322 } else {
323 my $tmpfile = "$IDIR/tmppod.txt";
324 $parser->parse_from_file($fn, $tmpfile);
325 open (IN, "<$tmpfile") || warn "Could not open $fn: $!\n", return (0);
326 while ($line = <IN>) {
327 warn "=> $line\n" if $debug;
328 for $word (&normalize($line)) {
329 next if $stop{$word};
330 $tf{$word}++;
331 }
332 }
333 close IN;
334 unlink $tmpfile;
335 }
336 } else {
337 # no Pod::Text found
338 open(IN, "<$fn") || warn "Could not open $fn: $!\n", return (0);
339 while ($line = <IN>) {
340 warn "=> $line\n" if $debug;
341 if ($line =~ /^=head/) {
342 $pod = 1;
343 } elsif ($line =~ /^=cut/){
344 $pod = 0;
345 } else {
346 next unless $pod;
347 }
348 for $word (&normalize($line)) {
349 next if $stop{$word};
350 $tf{$word}++;
351 }
352 }
353 close(IN);
354 }
355 for $tf (values %tf) {
356 $maxtf = $tf if $tf > $maxtf;
357 }
358 for $word (keys %tf) {
359 $IDF{$word}++;
360 $IF{$word} = '' unless defined $IF{$word}; # perl -w
361 $IF{$word} .= pack($p.$p, $did, $tf{$word});
362 }
363 $FN{$did} = pack($p, $maxtf).$fns;
364 print STDERR "$fns\n";
365 1;
366 }
367
368 sub add_to_index {
369 my ($name) = @_;
370 my $fns = $name; $fns =~ s:\Q$prefix/::;
371
372 if (exists $SEEN{$fns}) {
373 my ($mtime, $did) = unpack "$p$p", $SEEN{$fns};
374 if ((stat $name)[9] > $mtime) {
375 # mark document as deleted
376 delete $FN{$did};
377 warn "Marking document $did ($name) as deleted\n";
378 $GC_REQUIRED++;
379 } else {
380 # index up to date
381 next;
382 }
383 }
384 next unless -f $name;
385 if ($name !~ /(~|,v)$/) {
386 $did = $FN{'last'}++;
387 if (&index($name, $fns, $did)) {
388 my ($mtime) = (stat $name)[9];
389 $SEEN{$fns} = pack "$p$p", (stat $name)[9], $did;
390 }
391 }
392 }
393
394 sub normalize {
395 my $line = join ' ', @_;
396 my @result;
397
398 $line =~ tr/A-Z/a-z/;
399 $line =~ tr/a-z0-9_/ /cs;
400 for $word (split / /, $line ) {
401 $word =~ s/^\d+//;
402 next unless length($word) > 2;
403 if ($stemmer) {
404 push @result, &$stemmer($word);
405 } else {
406 push @result, $word;
407 }
408 }
409 @result;
410 }
411
412 sub search {
413 my %score;
414 my $maxhits = $opt_maxhits;
415 my (@unknown, @stop);
416
417 &initstop if $opt_verbose;
418 for $word (normalize(@_)) {
419 unless ($IF{$word}) {
420 if ($stop{$word}) {
421 push @stop, $word;
422 } else {
423 push @unknown, $word;
424 }
425 next;
426 }
427 my %post = unpack($p.'*',$IF{$word});
428 my $idf = log($FN{'last'}/$IDF{$word});
429 for $did (keys %post) {
430 # skip deleted documents
431 next unless exists $FN{$did};
432 my ($maxtf) = unpack($p, $FN{$did});
433 $score{$did} = 0 unless defined $score{$did}; # perl -w
434 $score{$did} += $post{$did} / $maxtf * $idf;
435 }
436 }
437 if ($opt_verbose) {
438 print "Unkown: @unknown\n" if @unknown;
439 print "Ingnore: @stop\n" if @stop;
440 }
441 if ($opt_menu) {
442 my @menu;
443 my $answer = '';
444 my $no = 0;
445 my @s = ('1' .. '9', 'a' .. 'z');
446 my %s;
447
448 for $did (sort {$score{$b} <=> $score{$a}} keys %score) {
449 my ($mtf, $path) = unpack($p.'a*', $FN{$did});
450 my $s = $s[$no];
451 push @menu, sprintf "%s %6.3f %s\n", $s, $score{$did}, $path;
452 $s{$s} = ++$no;
453 last unless --$maxhits;
454 }
455 &cbreak('on') if $opt_cbreak;
456 while (1) {
457 print @menu;
458 print "\nEnter Number or 'q'> ";
459 if ($opt_cbreak) {
460 read(TTYIN,$answer,1);
461 print "\n";
462 } else {
463 $answer = <STDIN>;
464 }
465 last if $answer =~ /^q/i;
466 $answer = ($s{substr($answer,0,1)})-1;
467 if ($answer >= 0 and $answer <= $#menu) {
468 my $selection = $menu[$answer]; chomp($selection);
469 my ($no, $score, $path) = split ' ', $selection, 3;
470 $path = $prefix.'/'.$path unless $path =~ m:^/:;
471
472 if ($path =~ /\.txt$/) {
473 my $pdf = $path; $pdf =~ s:pages/(\S+)_(\d+)\.txt$:$1.pdf:;
474 my $page = $2+0;
475 my $endp = $page+2;
476 my $tmp = "/tmp/perlinde$$.pdf";
477
478 if (-f $pdf) {
479 print "pdftk A=$pdf cat $page-$endp output $tmp\n";
480 system "pdftk", "A=".$pdf, 'cat', "$page-$endp", 'output', $tmp and
481 system "pdftk", "A=".$pdf, 'cat', "$page-end", 'output', $tmp;
482 system "acroread", $tmp;
483 unlink $tmp;
484 } else {
485 print STDERR "$pager '$path'\n";
486 system $pager, $path;
487 }
488 } elsif ($selection =~ m:/man:) {
489 my ($page, $sect) =
490 ($selection =~ m:([^/]*)\.(.{1,3})$:);
491 print STDERR "Running man $sect $page\n";
492 system 'man', $sect, $page;
493 } else {
494 print STDERR "Running pod2man $path\n";
495 system "pod2man --official $path | $nroff -man | $pager";
496 }
497 } else {
498 my $path = $prefix."/bin/perlindex";
499 system "pod2man --official $path | $nroff -man | $pager";
500 }
501 }
502 &cbreak('off') if $opt_cbreak;
503 } else {
504 for $did (sort {$score{$b} <=> $score{$a}} keys %score) {
505 printf("%6.3f %s\n", $score{$did},
506 (unpack($p.'a*', $FN{$did}))[1]);
507 last unless --$maxhits;
508 }
509 }
510 }
511
512 sub cbreak {
513 my $mode = shift;
514 if ($mode eq 'on') {
515 open(TTYIN, "</dev/tty") || die "can't read /dev/tty: $!";
516 open(TTYOUT, ">/dev/tty") || die "can't write /dev/tty: $!";
517 select(TTYOUT);
518 $| = 1;
519 select(STDOUT);
520 $SIG{'QUIT'} = $SIG{'INT'} = 'cbreak';
521 !NO!SUBS!
522 ;
523
524 if ($BSD_STYLE == -1) {
525 print OUT "\tReadMode 3; # Set cbreak mode\n";
526 } elsif ($BSD_STYLE) {
527 print OUT "\tsystem \"stty cbreak </dev/tty >/dev/tty 2>&1\";\n";
528 #print OUT "\tsystem \"stty cbreak echo </dev/tty >/dev/tty 2>&1\";\n";
529 } else {
530 print OUT "\tsystem \"stty\", '-icanon', 'eol', \"\\001\";\n";
531 }
532 print OUT " } else {\n";
533 if ($BSD_STYLE == -1) {
534 print OUT "\tReadMode 0; # Restore non-cbreak mode\n";
535 } elsif ($BSD_STYLE) {
536 print OUT "\tsystem \"stty -cbreak </dev/tty >/dev/tty 2>&1\";\n";
537 #print OUT "\tsystem \"stty -cbreak echo </dev/tty >/dev/tty 2>&1\";\n";
538 } else {
539 print OUT "\tsystem \"stty\", 'icanon', 'eol', '^\@'; # ascii null\n";
540 }
541
542 print OUT <<'!NO!SUBS!';
543 }
544 }
545
546
547 $stopinited = 0; # perl -w
548 sub initstop {
549 return if $stopinited++;
550 while (<DATA>) {
551 next if /^\#/;
552 for (normalize($_)) {
553 $stop{$_}++;
554 }
555 }
556 }
557
558 =head1 NAME
559
560 perlindex - index and query perl manual pages
561
562 =head1 SYNOPSIS
563
564 perlindex -index
565
566 perlindex tell me where the flowers are
567
568 =head1 DESCRIPTION
569
570 "C<perlindex -index>" generates an AnyDBM_File index which can be
571 searched with free text queries "C<perlindex> I<a verbose query>".
572
573 Each word of the query is searched in the index and a score is
574 generated for each document containing it. Scores for all words are
575 added and the documents with the highest score are printed. All words
576 are stemed with Porters algorithm (see L<Text::English>) before
577 indexing and searching happens.
578
579 The score is computed as:
580
581 $score{$document} += $tf{$word,$document}/$maxtf{$document}
582 * log ($N/$n{$word});
583
584 where
585
586 =over 10
587
588 =item C<$N>
589
590 is the number of documents in the index,
591
592 =item C<$n{$word}>
593
594 is the number of documents containing the I<word>,
595
596 =item C<$tf{$word,$document}>
597
598 is the number of occurances of I<word> in the I<document>, and
599
600 =item C<$maxtf{$document}>
601
602 is the maximum freqency of any word in I<document>.
603
604 =back
605
606 =head1 OPTIONS
607
608 All options may be abreviated.
609
610 =over 10
611
612 =item B<-maxhits> maxhits
613
614 Maximum numer of hits to display. Default is 15.
615
616 =item B<-menu>
617
618 =item B<-nomenu>
619
620 Use the matches as menu for calling C<man>. Default is B<-menu>.q
621
622 =item B<-cbreak>
623
624 =item B<-nocbreak>
625
626 Switch to cbreak in menu mode or dont. B<-cbreak> is the default.
627
628 =item B<-verbose>
629
630 Generates additional information which query words have been not found
631 in the database and which words of the query are stopwords.
632
633 =back
634
635 =head1 EXAMPLE
636
637 perlindex foo bar
638
639 1 3.735 lib/pod/perlbot.pod
640 2 2.640 lib/pod/perlsec.pod
641 3 2.153 lib/pod/perldata.pod
642 4 1.920 lib/Symbol.pm
643 5 1.802 lib/pod/perlsub.pod
644 6 1.586 lib/Getopt/Long.pm
645 7 1.190 lib/File/Path.pm
646 8 1.042 lib/pod/perlop.pod
647 9 0.857 lib/pod/perlre.pod
648 a 0.830 lib/Shell.pm
649 b 0.691 lib/strict.pm
650 c 0.691 lib/Carp.pm
651 d 0.680 lib/pod/perlpod.pod
652 e 0.680 lib/File/Find.pm
653 f 0.626 lib/pod/perlsyn.pod
654 Enter Number or 'q'>
655
656 Hitting the keys C<1> to C<f> will display the corresponding manual
657 page. Hitting C<q> quits. All other keys display this manual page.
658
659 =head1 FILES
660
661 The index will be generated in your man directory. Strictly speaking in
662 C<$Config{man1direxp}/..>
663
664 The following files will be generated:
665
666 index_fn # docid -> (max frequency, filename)
667 index_idf # term -> number of documents containing term
668 index_if # term -> (docid, frequency)*
669 index_seen # fn -> indexed?
670
671
672 =head1 AUTHOR
673
674 Ulrich Pfeifer E<lt>F<[email protected]>E<gt>
675
676 =cut
677
678 __END__
679 # freeWAIS-sf stopwords
680 a
681 about
682 above
683 according
684 across
685 actually
686 adj
687 after
688 afterwards
689 again
690 against
691 all
692 almost
693 alone
694 along
695 already
696 also
697 although
698 always
699 among
700 amongst
701 an
702 and
703 another
704 any
705 anyhow
706 anyone
707 anything
708 anywhere
709 are
710 aren't
711 around
712 as
713 at
714 b
715 be
716 became
717 because
718 become
719 becomes
720 becoming
721 been
722 before
723 beforehand
724 begin
725 beginning
726 behind
727 being
728 below
729 beside
730 besides
731 between
732 beyond
733 billion
734 both
735 but
736 by
737 c
738 can
739 can't
740 cannot
741 caption
742 co
743 co.
744 could
745 couldn't
746 d
747 did
748 didn't
749 do
750 does
751 doesn't
752 don't
753 down
754 during
755 e
756 each
757 eg
758 eight
759 eighty
760 either
761 else
762 elsewhere
763 end
764 ending
765 enough
766 etc
767 even
768 ever
769 every
770 everyone
771 everything
772 everywhere
773 except
774 f
775 few
776 fifty
777 first
778 five
779 vfor
780 former
781 formerly
782 forty
783 found "
784 four
785 from
786 further
787 g
788 h
789 had
790 has
791 hasn't
792 have
793 haven't
794 he
795 he'd
796 he'll
797 he's
798 hence
799 her
800 here
801 here's
802 hereafter
803 hereby
804 herein
805 hereupon
806 hers
807 herself
808 him
809 himself
810 his
811 how
812 however
813 hundred
814 i
815 i'd
816 i'll
817 i'm
818 i've
819 ie
820 if
821 in
822 inc.
823 indeed
824 instead
825 into
826 is
827 isn't
828 it
829 it's
830 its
831 itself
832 j
833 k
834 l
835 last
836 later
837 latter
838 latterly
839 least
840 less
841 let
842 let's
843 like
844 likely
845 ltd
846 m
847 made
848 make
849 makes
850 many
851 maybe
852 me
853 meantime
854 meanwhile
855 might
856 million
857 miss
858 more
859 moreover
860 most
861 mostly
862 mr
863 mrs
864 much
865 must
866 my
867 myself
868 n
869 namely
870 neither
871 never
872 nevertheless
873 next
874 nine
875 ninety
876 no
877 nobody
878 none
879 nonetheless
880 noone
881 nor
882 not
883 nothing
884 now
885 nowhere
886 o
887 of
888 off
889 often
890 on
891 once
892 one
893 one's
894 only
895 onto
896 or
897 other
898 others
899 otherwise
900 our
901 ours
902 ourselves
903 out
904 over
905 overall
906 own
907 p
908 per
909 perhaps
910 q
911 r
912 rather
913 recent
914 recently
915 s
916 same
917 seem
918 seemed
919 seeming
920 seems
921 seven
922 seventy
923 several
924 she
925 she'd
926 she'll
927 she's
928 should
929 shouldn't
930 since
931 six
932 sixty
933 so
934 some
935 somehow
936 someone
937 something
938 sometime
939 sometimes
940 somewhere
941 still
942 stop
943 such
944 t
945 taking
946 ten
947 than
948 that
949 that'll
950 that's
951 that've
952 the
953 their
954 them
955 themselves
956 then
957 thence
958 there
959 there'd
960 there'll
961 there're
962 there's
963 there've
964 thereafter
965 thereby
966 therefore
967 therein
968 thereupon
969 these
970 they
971 they'd
972 they'll
973 they're
974 they've
975 thirty
976 this
977 those
978 though
979 thousand
980 three
981 through
982 throughout
983 thru
984 thus
985 to
986 together
987 too
988 toward
989 towards
990 trillion
991 twenty
992 two
993 u
994 under
995 unless
996 unlike
997 unlikely
998 until
999 up
1000 upon
1001 us
1002 used
1003 using
1004 v
1005 very
1006 via
1007 w
1008 was
1009 wasn't
1010 we
1011 we'd
1012 we'll
1013 we're
1014 we've
1015 well
1016 were
1017 weren't
1018 what
1019 what'll
1020 what's
1021 what've
1022 whatever
1023 when
1024 whence
1025 whenever
1026 where
1027 where's
1028 whereafter
1029 whereas
1030 whereby
1031 wherein
1032 whereupon
1033 wherever
1034 whether
1035 which
1036 while
1037 whither
1038 who
1039 who'd
1040 who'll
1041 who's
1042 whoever
1043 whole
1044 whom
1045 whomever
1046 whose
1047 why
1048 will
1049 with
1050 within
1051 without
1052 won't
1053 would
1054 wouldn't
1055 x
1056 y
1057 yes
1058 yet
1059 you
1060 you'd
1061 you'll
1062 you're
1063 you've
1064 your
1065 yours
1066 yourself
1067 yourselves
1068 z
1069 # occuring in more than 100 files
1070 acc
1071 accent
1072 accents
1073 and
1074 are
1075 bell
1076 can
1077 character
1078 corrections
1079 crt
1080 daisy
1081 dash
1082 date
1083 defined
1084 definitions
1085 description
1086 devices
1087 diablo
1088 dummy
1089 factors
1090 following
1091 font
1092 for
1093 from
1094 fudge
1095 give
1096 have
1097 header
1098 holds
1099 log
1100 logo
1101 low
1102 lpr
1103 mark
1104 name
1105 nroff
1106 out
1107 output
1108 perl
1109 pitch
1110 put
1111 rcsfile
1112 reference
1113 resolution
1114 revision
1115 see
1116 set
1117 simple
1118 smi
1119 some
1120 string
1121 synopsis
1122 system
1123 that
1124 the
1125 this
1126 translation
1127 troff
1128 typewriter
1129 ucb
1130 unbreakable
1131 use
1132 used
1133 user
1134 vroff
1135 wheel
1136 will
1137 with
1138 you
1139
1140 !NO!SUBS!