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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.