class documentation
class VaderConstants: (source)
A class to keep the Vader lists and constants.
| Method | __init__ |
Undocumented |
| Method | negated |
Determine if input contains negation words |
| Method | normalize |
Normalize the score to be between -1 and 1 using an alpha that approximates the max expected value |
| Method | scalar |
Check if the preceding words increase, decrease, or negate/nullify the valence |
| Constant | B |
Undocumented |
| Constant | B |
Undocumented |
| Constant | BOOSTER |
Undocumented |
| Constant | C |
Undocumented |
| Constant | N |
Undocumented |
| Constant | NEGATE |
Undocumented |
| Constant | PUNC |
Undocumented |
| Constant | REGEX |
Undocumented |
| Constant | SPECIAL |
Undocumented |