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. Amazon Web Services
  2. Comprehend API

DetectDominantLanguage Processor

Part of the AWS Processor package

PreviousComprehend APINextDetectKeyPhrases Processor

Last updated 5 years ago

Was this helpful?

This processor will take an input string and return the dominant language(s) present in the text.

Properties

All of our Comprehend processors also include these .

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

Data Output

If the Destination property is set to flowfile-attribute, then the output of this processor will be routed to the FlowFile's nlp.DominantLanguage attribute, which will be created if it isn't present.

Field Name

Data Type

Description

languages

array of Language

The list of languages found by the API

Language

Field Name

Data Type

Description

language

string ()

The language code of the detected language

score

float

How confident the API is in its response

{
	"raw-input": "Here's some example text!",
	"output": {
		"languages": [
			{
				"code": "en",
				"score": 0.92942
			}
		]
	}
}
common properties
SupportedLanguage