Constructor
new SentimentAnalyzer(settings)
Constructor of the class.
Parameters:
Name | Type | Description |
---|---|---|
settings |
Object | Settings to initialize the instance. |
- Source:
Methods
getSentiment(utterance)
Given an utterance, return the sentiment analysis of the utterance.
Parameters:
Name | Type | Description |
---|---|---|
utterance |
String | Utterance to be analyzed. |
- Source:
loadVocabulary()
Load the vocabulary and negation files based on the type of files and language.
- Source: