Add method to initialized object (python)
Add method to initialized object (python) Question: I want to add a method to an object that has already been instantiated. The object is an instance of type vaderSentiment.vaderSentiment.SentimentIntensityAnalyzer (Vader is a popular NLP model). In order to get the predicted negative tone of a text I need to do the following: # Import model …