# This file is read (up to "end") by all lq-text programs.
# lqaddfile etc. looks in ~/LQTEXTDIR/config.txt by default.
# See the man page for lq-text (man lq-text) for how to change this.

# common words are not indexed. You can use /dev/null if you want.
# A good approach is to start with an empty file, index your files,
# then use lqwordlist to see which words are most frequent, and decide
# if you need to add them as common words.
common CommonWords

# where to search for documents.  The matched prefix is not stored in
# the database, which makes it easier to move files around after you
# index them.
docpath /usr/spool/news:/home/ss4000c/lee/text:

# single character words tend just to be noise
minwordlength 3

# long words actually get truncated anyway, but the default max length
# depends on compile-time options.
maxwordlength 18

# store a reverse map for words, so that lqwordlist works; this is pretty
# useful unless you are *really* short of disk space.
wordlist on

end
# end of machine-readable configuration (the computer reads no further! --
# this is an optimisation for start-up speed...!)

# Common common-file
# 	--- giving the name of a file of common words
#           to see the most common (most frequent) 20 words in a database,
#           you can use:
#           lqwordlist -n -u -g . | sort -0 +1n | head -20
#
# Docpath "path" (the quotes are optional)
#	--- giving a list of places to look for files, separated by ":"
#	    Useful tip: avoid putting :: or "." in DOCPATH, as you'll
#	    then get files that might or might not be found, depending
#	    on where you happen to be.  $HOME is NOT understood in here,
#	    because databases are often shared between users.
#
#	    Docpath can be overridden by the environment variable $DOCPATH.
#
# MinWordLen _n_
#	--- words shorter than this (before plurals are removed) are
#	    not indexed.
# MaxWordLen _n_
#	--- words are truncated to this length if they were longer.
#
# WordList on|off
#	--- if on, words are stored in two places.  This increases the size
#	    of the database slightly, but it lets you use "lqwordlist" to
#	    search the database vocabulary, e.g.
#		lqwordlist -g 'ly$'
#	    finds all words ending in "ly" (-g allows egrep patterns).
#	    You will need to run "sortwids" after running lqaddfile for
#           lqwordlist to work properly.  This should probably be done
#           automatically.
#
