<p><strong>Program Overview</strong></p> <p>RATS (Random-Accessible Text Systems) was a PL/I utility \"for the researcher with some knowledge of programming\" developed by John B. Smith of Pennsylvania State University in the early 1970s (Smith 277).</p> <p>Smith designed RATS to allow researchers to skip over file creation and proceed directly to text analysis (277). As an analysis tool, it aimed to provide \"a highly flexible representation of a text, allowing the researcher to write specific programs to perform the exact analysis he desires\" (277).</p> <p>It integrated the INDEX program from VIA-II, developed by S. Y. Sedelow, as its initial text scanner (277). RATS accepted text punched in columns and used spaces as delimiters between words and punctuation (277). It tokenized the text for its output, assigning each token to a record with a numeric index plus markers for volume, chapter, paragraph, sentence and word (277).</p> <p>These tokens were stored on tape, disk or other available storage, and used to generate three sets: Dictionary, which contained each word and punctuation mark with its frequency, cross-referenced to the index; AB which indexed each occurrence of a word, arranged alphabetically; and LIN which indexed each occurrence of a word, arranged in order of appearance in the text, cross-referenced to the Dictionary (Smith 278).</p> <p>RATS used its BUILD program to generate the Dictionary, AB and LIN sets, while two additional programs, COMPRESS and EXPAND, provided its text analysis functions (Smith 279). COMPRESS permitted users to specify which words from the Dictionary to work with, as it \"takes the file structure created by BUILD and compresses it to either a linear subset of the text or a subset represented by a partitioning of the dictionary\" (279). EXPAND, not available at the time of Smith's publication, \"takes the file structures created by BUILD for several texts or subsets of a text and combines them into a single RATS file structure\" (Smith 279-280). Smith projected a summer 1972 release for the BUILD program (Smith 280), with additional functions and programs to follow by fall of the same year (Smith 283).</p> <p>As a text analysis tool, Smith promoted RATS for concordance generation (Smith 280), for creating thematic distribution line graphs (Smith 281), and for creating transitional matrixes (Smith 282). To extend the system's functionality, he was developing a RANDOM program for writing RATS datasets to random-access files, and a RETURN/SEARCH program that would allow users to specify a set of information to examine and a word or group of words to search for (Smith 283).</p> <p>Smith found that</p> <p style=\"margin-left: 30px;\">While this system does not supply all of the features we might wish, it does facilities greatly many of the tasks that humanists and language analysts often perform. Its general flexibility should enable the user to design and implement procedures that fit his analytic model more precisely and sensitively than is generally possible. (283)</p> <p>A decade later, Robert Oakman reflected on Smith's work and RATS and judged that</p> <p style=\"margin-left: 30px;\">[a]lthough Smith has shown admirable concern for achieving efficiency in computer storage, his programs seem, by and large, too complex for most inexperienced literary scholars to use with ease. Practically one of the other PL/I program packages may be more convenient for the novice. (Oakman 180n)</p> <p>&nbsp;</p> <p><strong>Sources</strong></p> <p>Oakman, Robert L. <em>Computer Methods for Literary Research</em>. Athens: University of Georgia Press, 1984.</p> <p>Smith, John B. \"RATS: A Mid-Level Text Utility System.\" <em>Computers and the Humanities</em> 6.5 (1972): 277-283. <a href=\"http://download.springer.com/static/pdf/538/art%253A10.1007%252FBF02404244.pdf?auth66=1389205134_9c45fcce7c893dc1254bf53245b58f45&amp;ext=.pdf\" target=\"_blank\">Web</a>.</p>