edu.northwestern.at.wordhoard.tools.cm
Class WorkPartGenerator

java.lang.Object
  extended by edu.northwestern.at.wordhoard.tools.cm.WorkPartGenerator

public class WorkPartGenerator
extends java.lang.Object

Generates work parts.


Constructor Summary
WorkPartGenerator(XMLWriter out, Rules rules, java.util.HashMap posMap, java.lang.String fullWorkTag)
          Creates a new work part generator.
 
Method Summary
 void genText(org.w3c.dom.Element el)
          Generates the text.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorkPartGenerator

public WorkPartGenerator(XMLWriter out,
                         Rules rules,
                         java.util.HashMap posMap,
                         java.lang.String fullWorkTag)
Creates a new work part generator.

Parameters:
out - WordHoard XML output file writer.
rules - Rules.
posMap - Map from English pos tags to word class tags.
Method Detail

genText

public void genText(org.w3c.dom.Element el)
Generates the text.

Parameters:
el - Root element for the text (e.g., a TEI/text element).