src/AnnotatedParsePreprocessor/AnnotatedParsePreprocessor.cpp
/**
 * Prints utility usage information to standard error.
 */
Prints utility usage information to standard error.
Prints utility usage information to standard error .
void print_usage()
{
	cerr << "usage: AnnotatedParsePreprocessor config (-n entities | -d | -b entities) input ..." << endl;
	cerr << "    config     name of Serif configuration file" << endl;
	cerr << "    entities   name of file containing entity names" << endl;
	cerr << "    input      name of input file to preprocess" << endl << endl;
	cerr << "options:" << endl;
	cerr << "    -n         use only the entity names from the given file" << endl;
	cerr << "    -d         use the default Serif entity names" << endl;
	cerr << "    -b         use both default entity names and names from the given file" << endl;
	cerr << "               (redefinition of entity names is not allowed)" << endl << endl;
	cerr << "The AnnotatedParsePreprocessor takes as input one or more SGML input files and" << endl;
	cerr << "outputs them in a sexp format compatible with the DescriptorClassifierTrainer," << endl;
	cerr << "the NameLinkerTrainer and the PronounLinkerTrainer. " << endl << endl;
	cerr << "Each input file `input' will be output to `input.sexp'. Input files must" << endl;
	cerr << "contain one or more <DOCUMENT> or <DOC> tags. <ENAMEX>, <TIMEX>, <NUMEX>," << endl;
	cerr << "<PRONOUN>, <HEAD>, and <LIST> tags are recognized and their meta-data" << endl;
	cerr << "preserved and output in the sexp output files. <SENT> tags are respected" << endl;
	cerr << "as sentence boundaries." << endl;
	cerr << "Note: Word and phrase annotation tags should not contain inital or final spaces." << endl << endl;
	cerr << "Entity names files have the following format:" << endl << endl;
	cerr << "    n" << endl;
	cerr << "    NAME(1)[=REPLACE(1)]" << endl;
	cerr << "    ." << endl;
	cerr << "    ." << endl;
	cerr << "    NAME(n)[=REPLACE(n)]" << endl << endl;
	cerr << "where `n' is the number of entity names in the file, NAME(k) is the kth" << endl;
	cerr << "recognized entity name, and REPLACE(k) is the optional replacement text for its" << endl;
	cerr << "respective entity name." << endl;
}
void print_usage ( ) { cerr << " " << endl ; cerr << " " << endl ; cerr << " " << endl ; cerr << " " << endl << endl ; cerr << " " << endl ; cerr << " " << endl ; cerr << " " << endl ; cerr << " " << endl ; cerr << " " << endl << endl ; cerr << " " << endl ; cerr << " " << endl ; cerr << " " << endl << endl ; cerr << " " << endl ; cerr << " " << endl ; cerr << " " << endl ; cerr << " " << endl ; cerr << " " << endl ; cerr << " " << endl << endl ; cerr << " " << endl << endl ; cerr << " " << endl ; cerr << " " << endl ; cerr << " " << endl ; cerr << " " << endl ; cerr << " " << endl << endl ; cerr << " " << endl ; cerr << " " << endl ; cerr << " " << endl ; }
Prints utility usage information to standard error.
Prints utility usage information to standard error .