CsPTools

CsPTools is a package of perl utilities (developed in the course of the project on auxiliary selection in the history of English that I was a part of at the University of Stuttgart) which assist in the processing of corpus files and especially the files output by queries with Beth Randall's CorpusSearch program (now available for download from this SourceForge page). It consists of a perl module and ten scripts that depend on it. A lot of the scripts presuppose a certain way of organizing searches and thus may not be of interest for everyone, but the most important ones should be useful for just about anyone working with CorpusSearch. CsPTools is free, open source software released under the Gnu General Public License. A recurring feature in the scripts, which was particularly simple to implement in perl, is that most kinds of user input for which it would make sense can be specified as regular expressions. Brief descriptions of the scripts follow. For more detailed information see the manual.


Documentation

The CsPTools manual is available in [html] and [pdf] formats, and is included in the full distribution (also in both formats). It contains full descriptions of all the scripts along with examples of their use, as well as more extensive installation instructions.


The components of CsPtools


Requirements/dependencies

CsPTools requires perl v5.6 or later. editcodes and next require emacs, as do the editing functions of analyzer, though the basic functions of the latter are independent. The scripts have been developed and used on Linux and Mac OSX, and should also work on other Unix-like systems. I would be frankly surprised if everything worked as is on a DOS/Windows system or Mac OS 9.x or earlier. However, I would be interested in making them work on such systems in the future, so if anybody out there actually tries it out, let me know how it turns out.

Downloads and Installation

CsPTools is available as a zip archive containing the entire package, which consists of the ten tools, the perl module CsPTools.pm which all of them depend on, and the manual formatted as PDF and HTML. At the moment there is no automated installation program, but installing by hand should be reasonably painless, and there are instructions for doing so in the manual.


CsPTools v0.3.1 (July 26th, 2005): [CsPTools.zip]