SqueezeNet module
- class SqueezeNet.SqueezeNet(name)
Bases:
object
The main SqeezeNet class that uses all the modules in order to perform it’s task
- clean_text(text, custom_remove_words=None)
Given some text, return a list of clean words.
- Parameters:
text – Text to clean up
custom_remove_words – A list of words to also remove
- Returns:
filtered_text: Filters words that are 1-2 character in length and custom words
- Return type:
list
- sentiment_analysis(text)
A function to perform sentiment analysis with vaderSentiment
- Parameters:
text – text to perform sentiment analysis on
- Returns:
score: the sentiment score
- Return type:
dict