Constructors
constructor
- new Comprehend(options?): Comprehend
Parameters
- options: {
region?: string;
} = {}
Properties
client
client: ComprehendClient
Methods
detectDominantLanguage
- detectDominantLanguage(params): Promise<string>
Parameters
- params: {
text: string;
}
Returns Promise<string>
detectSentiment
- detectSentiment(params): Promise<Sentiment>
Returns Promise<Sentiment>
A wrapper for Amazon Comprehend.