# Java API Examples

The Eduction Java API includes sample programs that illustrate basic Eduction Java API usage. You can find these sample programs in the `samples` directory of the Eduction SDK zip package. The samples have inline documentation, and are also described in the HTML documentation.

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`. 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.

For information on how to build and run the sample programs, refer to the `README.md` file in the samples directory.

_FT_HTML5_bannerTitle.htm