home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fish 'n' More 1
/
FishNMoreVol1.bin
/
more
/
text_utils
/
lex
/
lex.arc
/
LEX.DOC
< prev
Wrap
Text File
|
1986-09-16
|
1KB
|
32 lines
LEX is a program which performs a number of useful functions on a text
file. It outputs word count, long word count, sentence count, and performs 3
readability algorithms on the document. The three algorithms, and their
meaning, are:
The Gunning-Fog index: the number equals the approximate level of
schooling (in years) needed to understand the document.
The Kincaid index is similar to the Gunning-Fog index in its
interpretation.
The Flesch index and Flesch Grade Level indicators: The Flesch index
is inversely proportional to the difficulty of the document; the lower
the scale, the harder the document. It is based on a 1-100 scale. The Flesch
grade level indicator is again analogous to the other two.
The usefulness of three different indices is to compare their agreement.
The closer their agreement, the more reliable the measure (they all use
different algorithms, but usually come out pretty close).
LEX can be invoked with the following syntax:
LEX file { file2 file3 ...}
That is, LEX can be used to analyze any number of files in a single
invocation up to the limits imposed by AmigaDos.
This is my first C project, and my first Amiga project, so if you
have any feedback, send it to:
Jeff Sullivan
739 Willow Ave
Penndel, PA 19047
All helpful criticism will be appreciated.