Creating the backend using the Knowledge Exploration Service

The Knowledge Exploration Service (KES) is, in some ways, the backend for the academic API. It allows us to build a compressed index from structured data, authoring grammar to interpret natural language.

To get started with the KES, we need to install the service locally.

Note

To download the KES installer, go to https://www.microsoft.com/en-us/download/details.aspx?id=51488.

With the installation comes some example data, which we will use.

The steps required to have a working service are as follows:

  1. Define a schema
  2. Generate data
  3. Build the index
  4. Author the grammar
  5. Compile the grammar
  6. Host the service

Get Learning Microsoft Cognitive Services - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.