Charles O. Hartman — Programs and Programming
the Scandroid 1.1
The Scandroid is a program that scans English verse in iambic and anapestic meters. You can load the text file of a poem, or type lines in by hand. As you "Step" through the process, the program explains what it's doing: identifying syllables and lexical stresses, dividing the line into feet and so on. This makes it a self-teaching tool. At the same time, it's suitable for some kinds of research on metrics. Though it uses the traditional foot-based scansion, some of its techniques and principles of construction derive from recent decades' work in generative phonology. There's a Manual that describes both how the program works and why it works that way.
I don't know of another program that does quite the same thing. It's fairly successful; it handles Larkin's "Church Going" and Browning's "My Last Duchess" and Carroll's "The Hunting of the Snark" pretty well, and none of them is particularly easy to scan. Its treatment of a word (syllabification and stress) can be changed by the user. It employs two different algorithms for dividing iambic lines into feet, and another for anapestics; when it loads a poem-file it samples the lines to deduce whether to treat them as iambic or anapestic.
Here is the Scandroid for Mac (OS 10.4, probably also 10.3) and Windows (tested on XP, should work on others). The Manual, a 20-page .pdf file, is included in both distribution archives, and is also available here for separate download. It includes some discussion of theoretical issues as well as practicalities.
Download the Scandroid 1.1 for Mac OS 10.3 (6.9 Mb)
Download the Scandroid for Windows (4.8 Mb)
Download the Scandroid's PDF Manual
The Scandroid is published under a GNU Public License. It's written in Python (2.4) and uses wxPython (2.6) for its graphic interface. It was developed using the WingIDE (www.wingware.com). Under the GPL you're welcome to change the program. I would appreciate a copy of any changed version. The source code (eight modules) can be downloaded here:
Download the source code
OSI Certified Open Source Software
English Metrics
Long ago I wrote a Hypercard hypertextual tutorial on English metrics. (Even longer ago there was a DOS version.) It thoroughly traced the process of scanning iambic pentameter and also included reference and exercise material for a range of metrical patterns. At last there's a modern, cross-platform version. Download either the Mac OSX or the Windows archive file, and unzip (extract) it wherever you like. To run the OSX version, double-click the StackRunner icon. To run the Windows version, double-click the StackRunner.exe program. Either way, when you're ready to quit, notice the Quit English Metrics button in the "Map" window.
Download English Metrics tutorial for Mac OS X (4 Mb)
Download English Metrics tutorial for Windows (4 Mb)
The tutorial was constructed using Runtime Revolution's Dreamcard development system. The StackRunner application was written by Ken Ray (Sons of Thunder).
Prose and the Virtual Muse
In 1996 Wesleyan University Press published my Virtual Muse: Experiments in Computer Poetry. The book examined a number of approaches to using computer programs as adjuncts to the process of composing poems. The book is now more or less out of print; I am glad to deal with inquiries as they arise, which is surprisingly often.
The most elaborate program described in Virtual Muse is Prose. It generates sentences. They are random in two ways: the syntactical structure of each sentence is constructed from phrase elements recursively chosen at random from an editable grammar; and the word-slots in the resulting sentence template are filled at random from an editable dictionary arranged by word-types. It was originally written under DOS; that version is accessible by archaeologists.
Another old version called MacProse is available here (for a while, for the sake of Mac OS 9 users). Source code is included, though the graphic-interface framework it uses (from Jim Trudeau's Programming Starter Kit for Mac) is not, for copyright reasons, and would be hard to locate now. You can download the old program by clicking on this link: Download MacProse (OS9) (.sea.hqx) However:
A nice new version is now available for both Mac OS 10.4 and Windows XP. (It's written in Python, using the wxPython GUI framework, like the Scandroid. Source code is available on request.) Download your preferred package here, double-click to unpack the archive, and try it out. If you find bugs, please let me know.<\p>
Download PyProse for Mac OS 10.4
Download PyProse for Windows XP
Concord
A program called Concord, the Interactive Concordance Generator, is available in both Mac (10.3+) and Windows (XP) versions. It's again in Python and wxPython.
Concordances — lists of all the words in a text, with location references and sometimes contexts — were once made by hand, and very few could be made that way. Biblical concordances were the achieved by scholars in the nineteenth century. Charlton Hinman's work on mechanical collation (one of many precursors of modern computers) led to good concordances of Shakespeare early in the twentieth century. Programs are available now to do the job on a personal computer, which is a hell of a lot easier. Some of these (such as R.J.C. Watt's Concordance) are clearly more sophisticated than my Concord. Concord has the modest advantage of being, as far as I know, the only such program for the Mac that's free.
It produces a KWIC (Key Word in Context) concordance-entry, more or less instantaneously, for any word or phrase you specify, and it lets you sort your concordance in a variety of ways. It needs a plain-text file for input, but it will accept quite a large one, such as the King James Bible (4.3 megabytes).
Download Concord for Mac OS X
Download Concord for Windows
This is an early version of the program (0.5). Please send bug reports
and feature requests to me at the email link below.