public class AddUnclear
extends java.lang.Object
Usage:
java edu.northwestern.at.morphadorner.tools.tcp.AddUnclear outputdirectory input1.xml input2.xml ...
where outputdirectory is the output directory containing the resultant XML files with type="unclear" attributes added to tokens containing character gaps and input*.xml are the input tokenized XML files. Character gaps are indicated by the presence of unicode character ? (the black circle) in a token.
| Modifier and Type | Field and Description |
|---|---|
protected static org.jdom2.Namespace |
teiNamespace
TEI name spaces.
|
protected static org.jdom2.Namespace |
teiNamespace2 |
| Constructor and Description |
|---|
AddUnclear() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addUnclear(java.lang.String[] args)
Add type="unclear" attribute to tokens containing gap characters.
|
static void |
main(java.lang.String[] args)
Main program.
|
protected static org.jdom2.Namespace teiNamespace
protected static org.jdom2.Namespace teiNamespace2
public static void main(java.lang.String[] args)
args - Program arguments.public static void addUnclear(java.lang.String[] args)
throws java.lang.Exception
args - Program arguments.java.lang.Exception - In case of error.