edu.northwestern.at.wordhoard.tools.filters
Class Filter02

java.lang.Object
  extended by edu.northwestern.at.wordhoard.tools.filters.Filter02

public class Filter02
extends java.lang.Object

Adds "punc" elements.

Replaces punctuation strings inside lines with "punc" elements, and replaces "ab" elements by "l" elements (for "tagged line").

Usage:

Filter02 in out

in = Path to TEI XML input file for a work.

out = Path to TEI XML output file for a work.

Punctuation strings inside "l" and "ab" elements are replaced by "punc" elements, provided the "l" or "ab" element is tagged (contains at least one "w" child), and the string is not inside a nested "w" or "stage" element.

"l" and "ab" elements which are not tagged (do not contain at least one "w" child) are replaced by "p" elements.

The remaining "ab" elements are replaced by "l" elements.


Method Summary
static void main(java.lang.String[] args)
          The main program.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

main

public static void main(java.lang.String[] args)
The main program.

Parameters:
args - Command line arguments.