Example Programs
You can find the sample programs in your Eduction SDK zip package, in the samples
directory.
The following sample programs are available:
compile
. Compiles an XML grammar file into an ECR file.eduction_from_config
. Extracts entities from a plain text input file, using settings read from a configuration file.eduction_from_settings
. (C and Java only). Extracts entities from a plain text input file, using settings created by calling explicit API functions.redaction
. Redacts entities in a plain text input file.repeated_matches
. Demonstrates the use ofEdkGetNextRepeatedMatch
, which you can use to find repeated matches.table_extraction
. Extract entities from a CSV/TSV input file, using column/header settings read from a configuration file.
For more information about these examples, refer to the README.md
file in the samples
directory.