Class WatsonLanguageEndpointBuilderFactory.WatsonLanguageHeaderNameBuilder
java.lang.Object
org.apache.camel.builder.endpoint.dsl.WatsonLanguageEndpointBuilderFactory.WatsonLanguageHeaderNameBuilder
- Enclosing interface:
WatsonLanguageEndpointBuilderFactory
public static class WatsonLanguageEndpointBuilderFactory.WatsonLanguageHeaderNameBuilder
extends Object
The builder of headers' name for the IBM Watson Language component.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionEnable category classification.Enable concept extraction.Enable emotion analysis.Enable entity extraction.Enable keyword extraction.Enable sentiment analysis.The language of the text.The operation to perform.The sentiment label (positive, negative, neutral).The sentiment score.The text to analyze.The URL to analyze.
-
Constructor Details
-
WatsonLanguageHeaderNameBuilder
public WatsonLanguageHeaderNameBuilder()
-
-
Method Details
-
iBMWatsonLanguageOperation
The operation to perform. The option is a:Stringtype. Group: producer- Returns:
- the name of the header
IBMWatsonLanguageOperation.
-
iBMWatsonLanguageText
The text to analyze. The option is a:Stringtype. Group: producer- Returns:
- the name of the header
IBMWatsonLanguageText.
-
iBMWatsonLanguageUrl
The URL to analyze. The option is a:Stringtype. Group: producer- Returns:
- the name of the header
IBMWatsonLanguageUrl.
-
iBMWatsonLanguageAnalyzeSentiment
Enable sentiment analysis. The option is a:Booleantype. Group: producer- Returns:
- the name of the header
IBMWatsonLanguageAnalyzeSentiment.
-
iBMWatsonLanguageAnalyzeEmotion
Enable emotion analysis. The option is a:Booleantype. Group: producer- Returns:
- the name of the header
IBMWatsonLanguageAnalyzeEmotion.
-
iBMWatsonLanguageAnalyzeEntities
Enable entity extraction. The option is a:Booleantype. Group: producer- Returns:
- the name of the header
IBMWatsonLanguageAnalyzeEntities.
-
iBMWatsonLanguageAnalyzeKeywords
Enable keyword extraction. The option is a:Booleantype. Group: producer- Returns:
- the name of the header
IBMWatsonLanguageAnalyzeKeywords.
-
iBMWatsonLanguageAnalyzeConcepts
Enable concept extraction. The option is a:Booleantype. Group: producer- Returns:
- the name of the header
IBMWatsonLanguageAnalyzeConcepts.
-
iBMWatsonLanguageAnalyzeCategories
Enable category classification. The option is a:Booleantype. Group: producer- Returns:
- the name of the header
IBMWatsonLanguageAnalyzeCategories.
-
iBMWatsonLanguageLanguage
The language of the text. The option is a:Stringtype. Group: producer- Returns:
- the name of the header
IBMWatsonLanguageLanguage.
-
iBMWatsonLanguageSentimentScore
The sentiment score. The option is a:Doubletype. Group: producer- Returns:
- the name of the header
IBMWatsonLanguageSentimentScore.
-
iBMWatsonLanguageSentimentLabel
The sentiment label (positive, negative, neutral). The option is a:Stringtype. Group: producer- Returns:
- the name of the header
IBMWatsonLanguageSentimentLabel.
-