Cloud NiFi Processors
  • Calculated Systems NiFi Processors
  • Amazon Web Services
    • Comprehend API
      • DetectDominantLanguage Processor
      • DetectKeyPhrases Processor
      • DetectEntities Processor
        • Entity Types
      • DetectSentiment Processor
      • DetectSyntax Processor
    • Textract API
      • DetectDocumentText Processor
      • AnalyzeDocument Processor
      • Block Types
  • Google Cloud Platform
    • Natural Language API
      • AnalyzeSyntax Processor
      • AnalyzeEntities Processor
      • AnalyzeSentiment Processor
      • AnalyzeEntitiesWithSentiment Processor
      • ClassifyText Processor
      • AnnotateText Processor
      • Entity Types
      • The Metadata Field
Powered by GitBook
On this page
  • Properties
  • Data Output

Was this helpful?

  1. Google Cloud Platform
  2. Natural Language API

ClassifyText Processor

Part of the GCP Natural Language processor family

PreviousAnalyzeEntitiesWithSentiment ProcessorNextAnnotateText Processor

Last updated 5 years ago

Was this helpful?

This processor will attempt to fit the input text into a category. The list of categories that it could be is very extensive, and can be .

Properties

All of our Natural Language processors also include these .

This processor does not have any unique properties outside of the common ones.

Data Output

Field Name

Data Type

Description

categories

array of Category

The list of categories the API thinks the text can fall under

Category

Field Name

Data Type

Description

name

string

The name of the category. A list of all possible category names can be

confidence

float

How confident the API is in its response

{
   "output":{
      "categories":[
         {
            "confidence":0.81,
            "name":"\/Arts & Entertainment"
         }
      ]
   },
   "raw-input":"James Adams is a fantastic developer who has been on the scene for over ten years. His excellent attitude and steady work ethic contribute to his character. May he stay with our company for many years to come."
}
found here
common properties
found here.