When I tokenize my text, it is adding a space before it, and I am unable to strip it.
tokenizer = nltk.tokenize.TweetTokenizer()
tokens = tokenizer.tokenize(text)
x = 0
for i in tokens:
token = tokens[x]
token = token.strip(' ')
print("token:",token)
token.strip()
instead, just in case the issue is because of tabs