edu.northwestern.at.wordhoard.tools.fixers
Class ShaSon

java.lang.Object
  extended by edu.northwestern.at.wordhoard.tools.fixers.Fixer
      extended by edu.northwestern.at.wordhoard.tools.fixers.ShaSon

public class ShaSon
extends Fixer

Fixes for the Shakespeare sonnets.

We group the sonnets into parts containing 20 sonnets each.

We set the full title of each sonnet to "Sonnet nnn".


Constructor Summary
ShaSon()
           
 
Method Summary
 void fix(java.lang.String corpusTag, java.lang.String workTag, org.w3c.dom.Document document)
          Fixes an XML DOM tree.
 
Methods inherited from class edu.northwestern.at.wordhoard.tools.fixers.Fixer
enableLogMessages, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShaSon

public ShaSon()
Method Detail

fix

public void fix(java.lang.String corpusTag,
                java.lang.String workTag,
                org.w3c.dom.Document document)
         throws java.lang.Exception
Fixes an XML DOM tree.

Specified by:
fix in class Fixer
Parameters:
corpusTag - Corpus tag.
workTag - Work tag.
document - XML DOM tree.
Throws:
java.lang.Exception