Categorize Text

Categorize Text integrates part of the functionality provided by the Deep Categorization API. This API allows you to assign one or more categories to a document using a very detailed rule-based language that enables to identify very specific scenarios and patterns.

On the right, you can see the interface that appears when you select the action Categorize Text.

There are three elements in the interface: Type, Model, and Relevance Filter.

  • Type, to select the input type to analyze. There are two possible values:
    • Text: if you want to select a text to be the input.
    • Url: if you want an URL to be the input.

    Depending on the value selected, an additional field will appear to include either the text or the URL to analyze.

  • Model, to define the model that will be applied to the text categorization. Here, you can see the list of the supported models.
  • Relevance Filter, to select the minimum relevance of the categories shown in the output. Must be a number in the range of 0 to 100. By default it is set to 0.
Categorize Text

If the following error message appears when testing the app, it is because you are trying to access a resource you don't have access to. Remember that you can request a 30-day trial for every pack we offer in the developers home.

Resource access error

Output

There is only one field in the output of the Categorize Text action: categories

  • categories: this field returns a list of the categories found in the text separated by commas.

In the next image, you can see the results of testing the app in Zapier:

Output Categorize Text