Lets build a simple model to classify the tweets as negative or postive based on the
label. We imported the nltk module and the we have dataset of positive and negative tweets.
We would combine both positive and negative tweets and eliminate the words which are less than 2 characters(say stop words)
We would extract the features from the twrrts and plot the frequency distribution of the feature words
No comments:
Post a Comment
Note: only a member of this blog may post a comment.