Class Profile
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class Profile
extends com.ibm.cloud.sdk.core.service.model.GenericModel
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
Profile.ProcessedLanguage
The language model that was used to process the input. -
Constructor Summary
Constructors Constructor Description Profile()
-
Method Summary
Modifier and Type Method Description List<Behavior>
getBehavior()
Gets the behavior.List<ConsumptionPreferencesCategory>
getConsumptionPreferences()
Gets the consumptionPreferences.List<Trait>
getNeeds()
Gets the needs.List<Trait>
getPersonality()
Gets the personality.String
getProcessedLanguage()
Gets the processedLanguage.List<Trait>
getValues()
Gets the values.List<Warning>
getWarnings()
Gets the warnings.Long
getWordCount()
Gets the wordCount.String
getWordCountMessage()
Gets the wordCountMessage.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Constructor Details
-
Profile
public Profile()
-
-
Method Details
-
getProcessedLanguage
Gets the processedLanguage.The language model that was used to process the input.
- Returns:
- the processedLanguage
-
getWordCount
Gets the wordCount.The number of words from the input that were used to produce the profile.
- Returns:
- the wordCount
-
getWordCountMessage
Gets the wordCountMessage.When guidance is appropriate, a string that provides a message that indicates the number of words found and where that value falls in the range of required or suggested number of words.
- Returns:
- the wordCountMessage
-
getPersonality
Gets the personality.A recursive array of `Trait` objects that provides detailed results for the Big Five personality characteristics (dimensions and facets) inferred from the input text.
- Returns:
- the personality
-
getNeeds
Gets the needs.Detailed results for the Needs characteristics inferred from the input text.
- Returns:
- the needs
-
getValues
Gets the values.Detailed results for the Values characteristics inferred from the input text.
- Returns:
- the values
-
getBehavior
Gets the behavior.For JSON content that is timestamped, detailed results about the social behavior disclosed by the input in terms of temporal characteristics. The results include information about the distribution of the content over the days of the week and the hours of the day.
- Returns:
- the behavior
-
getConsumptionPreferences
Gets the consumptionPreferences.If the **consumption_preferences** parameter is `true`, detailed results for each category of consumption preferences. Each element of the array provides information inferred from the input text for the individual preferences of that category.
- Returns:
- the consumptionPreferences
-
getWarnings
Gets the warnings.An array of warning messages that are associated with the input text for the request. The array is empty if the input generated no warnings.
- Returns:
- the warnings
-