Recent Changes - Search:

Home

Is the Laser up?

People

Publications

Calendar

Projects

Spring 2012

Older Courses

Fall 2011

Spring 2011

Fall 2010

Spring 2010

Fall 2009

Spring 2009

Fall 2008

Spring 2008

Fall 2007

HOWTOs

edit SideBar

ShakespeareCharacterComparison

Stephen Bilozur
December 10, 2009

Overview

This project displays a visualization representing a comparison between characters in Shakespeare's plays. A sine wave is used to represent the number of speeches (amplitude) and the number of words per speech (frequency) for a given character. Three user specified characters are displayed.

Screenshot

Concepts Demonstrated

  • Data abstraction is used to provide access to the elements of the streams and lists.
  • Recursion and stream-filter are used to acquire data from the files.
  • Higher order functions: functions are both passed to and returned by functions.

External Technology

The text files were downloaded from opensourceshakespeare.org. MS Access was used to convert the files into csv format. Two Scheme packages are used: csv.plt is used to create readers which convert the csv files into lists of lists; PLot is used to produce the graphs.

Innovation

The graphs provide a visual depiction of a pattern in Shakespeare's writing. Characters may be chosen from different plays. While there may not be much usefulness for this information, it may be seen as interesting.

Technology Used Block Diagram

Create a simple block diagram of your software system that illustrates the major technical components and how they interact; e.g.:

Additional Remarks

I had hoped to use the Scheme GUI library to allow easier interaction. However, I was unable to get the GUI and PLot to work together.

Edit - History - Print - Recent Changes - Search
Page last modified on December 10, 2009, at 07:54 AM