KEE Studio Plugin Tutorial#

This tutorial takes you through the steps that are required for creating a Known Entity Extraction (KEE) using the studio plugin in the UI. We assume that you are familiar with loading data into a Squirro project.

The company names in the NASDAQ company list is our structured data (known entities) that we want to match (extract) in unstructured news data. You can use the provided sample items from the New York Times Business RSS feed or load any other (news) items on which you want to apply the KEE.


Loading Data#

If you have not already setup a Squirro project, it is now a good time to do so and load the data. You can, for example, use the JSON data loader plugin to load the provided sample data. Navigate to the DATA tab in the Squirro Setup space, click the plus icon and select the JSON plugin under Data Import. Upload the file and follow the steps in the data loader plugin.

Define KEE#

In the Squirro Setup space select the AI STUDIO tab and click on Known Entity Extraction. Add a new KEE by clicking the plus icon in the to right corner.

A form where you can specify the configuration appears:

Enter the following data as a new Known Entity Extraction configuration:





KEE data

Upload the file nasdaq_companylist.xlsx

ID field


Matching fields


Keywords to assign

Name -> company
Sector -> sector

Minimum score for matches


Enable fuzzy matching


Enable company suffix list


Enable ngram database


Click the SAVE button. A new enrichment (pipelet) named NASDAQ KEE has been created and you can now add it to the pipeline.

Add KEE to the Pipeline#

Navigate to the PIPELINE tab and edit the pipeline in which you want to add the KEE step. You can easily find the NASDAQ KEE step by searching it in the pipeline editor. Drag the NASDAQ KEE to the Relate field of the pipeline:

Save the pipeline. Now the KEE step is part of the pipeline and is applied to any newly indexed item that runs through this pipeline. If you want to apply the KEE step to existing items in the index, you have to rerun the KEE step for those items.


In the pipeline editor, edit the pipeline containing the KEE step. Hover over the KEE step, click the menu icon (three dots) and select Rerun from the dropdown menu. Check the Run linked steps option and click Rerun. See Pipeline Reruns for information on rerunning an individual pipeline step.

Inspect the Keywords#

You can check the keywords tagged with KEE on the EXPLORE tab and searching for company:*: