Professional Documents
Culture Documents
Output: Classifying Negative and Positive Sentiments from Large pool of tweets.
tweet_id: ‘-----‘
tweet_name: ‘-----‘
username: ‘-----‘
tweet_content: ‘-----‘
access_token: ‘-----‘
encryption_key: ‘-----‘
end Procedure
tweet_id: ‘-----‘
tweet_content: ‘-----‘
end Procedure
if(tweet_content==keyword)
keyword found
else
keyword not_found
}
end Procedure
tweet = Extracting_Tweet(tweet_id)
tweet= Tweet_Search_Keyword(key)
tweet_polarity=tweet.sentiment_polarity
if(tweet_poarity==positive)
positive tweet
else
negative tweet
end Procedure
fetched_tweet= search(sql_query)
end Procedure