Entity types

From Wisevoice Wiki
Revision as of 08:59, 19 November 2019 by Admin (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Entity types define how a valid entity looks like.

There are system types supported out of the box like Date, Number and Free text and you can also define custom entity types.

Entity type1.png

Entity types can be defined either as a value list or as a regular expression.

Defining with value lists

When defining a value list you can also chose the appropriate matching sensitivity, ranging from exact matching to wildcard matching.

For each value you can define a list of synonyms. If one of the synonym is detected it will be automatically replaced with the base value when saving the entity in the user session. This help take NLP tasks out of the business logic pipeline.

Value lists can also be imported as CSV files or refreshed real time from an URL.

When marking entities in training examples in the Intent, Entity or Annotation views, new values will get automatically inserted in the value list corresponding to the entity type.

Defining with regular expressions

Here is a RegEx example for defining a phone number entity type:

0 ?[7|3] ?(\d ?){n}

Read more about Regular here.