|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.northwestern.at.wordhoard.tools.filters.Filter02
public class Filter02
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 |
---|
public static void main(java.lang.String[] args)
args
- Command line arguments.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |