#include "../cl/globals.h"#include "../cl/cl.h"| int main | ( | int | argc, | |
| char ** | argv | |||
| ) |
Main function for cwb-s-decode.
Prints information about each region in a given s-attribute in a specified corpus to STDOUT, optionally with their annotation values.
| argc | Number of command-line arguments. | |
| argv | Command-line arguments. |
References ATT_STRUC, central_corpus_directory(), cl_error, cl_max_struc(), cl_new_attribute, cl_new_corpus, cl_struc2cpos, cl_struc2str, cl_struc_values, corpus, corpus_id, progname, registry_directory, and usage().
| void usage | ( | void | ) |
Prints a message describing how to use the program to STDERR and then exits.
References progname.
| char* progname |
Name of the program (from the shell).
1.6.1