print("-"*40)
#propt to tag the tweet
inputType = input("Enter tag for the tweet (one or more, if more us a \',\' )\n"
"If you want to quit, type \"STOP\": ")
if inputType == "STOP":
break
labeledTweet = { 'id': tweet.get('id'),
'screen_name': tweet.get('screen_name'),
'created_at': tweet.get('created_at'),
'full_text': text,
'tag': inputType
}
count = count + 1
taggedTweets.append(labeledTweet)
print("-"*40)
print("\n")
print("*"*40)
print("\nThe labeled tweets are:\n")
count = 0
#recap of your labeling process
for elem in taggedTweets:
count = count + 1
print(str(elem.get('id')) + " | " + elem.get('full_text') + " | " + elem.get('tag'))
print("\nYOU HAVE LABELED " + str(count) + " TWEETS\n ")
print("Please check your work...\n")
decision = ""