public class GetTokenChanges
extends java.lang.Object
Usage:
java edu.northwestern.at.morphadorner.tools.compareadornedfiles.GetTokenChanges
origfilesdirectory updatedfilesdirectory changelogfilesdirectory
origfiledirectory -- Directory containing original TEI XML files.
updatedfilesdirectory -- Directory containing updated TEI XML files.br />
changelogfilesdirectory -- Directory to receive change log files.
For each pair of matching files in (origfiledirectory, updatedfilesdirectory) a change log file is written to changelogfilesdirectory. The change log is written in the format specified by CompareAdornedFiles. Only token-based changes are recorded in the change log file.
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
changeFilesDirectory
Output directory to receive change files.
|
protected static java.lang.String |
newAdornedFilesDirectory
Input directory containing new adorned files.
|
protected static java.lang.String |
oldAdornedFilesDirectory
Input directory containing old adorned files.
|
Constructor and Description |
---|
GetTokenChanges() |
Modifier and Type | Method and Description |
---|---|
static void |
getTokenChanges(java.lang.String[] args)
Get token changes for batch of adorned files.
|
static void |
main(java.lang.String[] args)
Main program.
|
protected static java.lang.String oldAdornedFilesDirectory
protected static java.lang.String newAdornedFilesDirectory
protected static java.lang.String changeFilesDirectory
public static void main(java.lang.String[] args)
args
- Command line arguments.public static void getTokenChanges(java.lang.String[] args) throws java.lang.Exception
args
- Command line arguments.java.lang.Exception