Entity Recognizer

Definition

<entity_recognizer name="EntityRecognizerName">

Requests entities from an http_service or a device module.

Attribute Type Description
name string Required. The name of the entity recognizer. Names are written according to the PascalCase convention, e.g. 'CityRecognizer'.

Children

Behaviour

The element in the service interface requests entities from the <targetklzzwxh:0007 http_service or device module. The endpoint function will collect the entities and return each of the entities' value, grammar_entry and sort in the response.

Examples

Request for cities to an http_service

  <entity_recognizer name="CityRecognizer">
    <target>
      <http endpoint="http://127.0.0.1:10100/city_recognizer"/>
    </target>
  </entity_recognizer>