KeywordsOptions
public struct KeywordsOptions : Codable, Equatable
Returns important keywords in the content. Supported languages: English, French, German, Italian, Japanese, Korean, Portuguese, Russian, Spanish, Swedish.
-
Maximum number of keywords to return.
Declaration
Swift
public var limit: Int? -
Set this to
trueto return sentiment information for detected keywords.Declaration
Swift
public var sentiment: Bool? -
Set this to
trueto analyze emotion for detected keywords.Declaration
Swift
public var emotion: Bool? -
Initialize a
KeywordsOptionswith member variables.Declaration
Swift
public init( limit: Int? = nil, sentiment: Bool? = nil, emotion: Bool? = nil )Parameters
limitMaximum number of keywords to return.
sentimentSet this to
trueto return sentiment information for detected keywords.emotionSet this to
trueto analyze emotion for detected keywords.Return Value
An initialized
KeywordsOptions.
View on GitHub
KeywordsOptions Structure Reference