Standalone API Usage

This section describes the basic structure of a stand-alone application using the API. See the source referenced in Java API Example. Typically, your application takes the following actions:

  1. Instantiate an EDKEngine object.
  2. Set the license key.
  3. Configure the engine, load the grammars and select entities.
  4. Instantiate an EDKSession object and associate it with the engine.
  5. Feed UTF-8 encoded text to the session or pass the session a stream it can read.
  6. Execute a for each loop to obtain an EDKMatch object for each match in a session.
  7. Get the properties of the match.
  8. Release resources when done.

_HP_HTML5_bannerTitle.htm