How to Extract/Add Custom Entities
About
The Custom Entity Extraction (CEE) component extracts entities from any input text based on a list of entity names.
- Adding the Custom Entity Extraction (CEE) component and outside databases that contain predefined values speeds up the tagging process.
- This component automatically extracts entities that are defined by a list of entity names.
How to Configure Custom Entity Extraction
Use the following instructions to configure the Custom Entity Extraction component.
- Add the Component.
- Existing Components: Click the named link for this component to see the Configuration section:
- Entity Name: Select the Predefined Entity Radio button and click the drop-down arrow to select the name of the entity.
- SQL: Select the External Database Radio button:
- Connection String: Provide a database connection string.
- Select Query: Provide a select statement to define entity Values.
- Example: SELECT EntityName from Entities
- Input properties: Specify the input properties, such as body, Heading, etc., that are used to send the web service request. Each property name must be separated by commas (
,
). If an external web service expects a property with a different name, the following syntax can be used:originalName->modifiedName
. - Output property: Specify the output properties that are expected in the web service response. Each property name must be separated by a comma (
,
). - Append Data to Output Property :Click to enable appending data to the output property.
- Include Counts: Check this option to have returned entities include a count. For example:
- UnChecked: Gold, Silver, Diamond
- Checked: 10;Gold, 4;Silver, 1;Diamond
- De-Duplicate Entities: Click to remove any duplicate entities. For example, when using Entity Values "New York", "York", "Boston"
- If the search text contains "York":
- Unchecked: York, New York
- Checked: New York
- If the search text contains "York":
- Apply: Click to apply your changes and see a confirmation message.
- Validate: Click to validate your changes and see a confirmation message.
- Input Properties: Based on configuration.
- Output Properties: Based on configuration.
- Select these entities using the drop-down list.
- For more information, see Using predefined entities.