dialogy.types.entity.keyword package

Module contents

Module provides access to an entity type (class) to contain keyword extraction based entites. These entities originate from token lookups, regex, etc.

Import classes:
  • KeywordEntity

class KeywordEntity(body, dim=None, parsers=NOTHING, score=None, alternative_index=None, alternative_indices=None, latent=False, values=NOTHING, value=None, entity_type=None, meta=NOTHING, *, range, type='value')[source]

Bases: dialogy.types.entity.base_entity.BaseEntity

Use this type for handling keyword based extractions where presence of specific tokens in the ASR is enough for detection.