Is there a method to perform tagging of tweets using NLTK? The pos_tag()
function gives incorrect results on twitter data (which uses textese):
# checking if NLTK tokenizers work on SMS textese
tokens = pos_tag(word_tokenize("ikr smh he asked fir yo last name so he can
add u on fb lololol"))
print(tokens)
output:-
[('ikr', 'NN'), ('smh', 'NN'), ('he', 'PRP'), ('asked', 'VBD'), ('fir', 'JJ'), ('yo', 'NN'),
('last', 'JJ'), ('name', 'NN'), ('so', 'RB'), ('he', 'PRP'), ('can', 'MD'), ('add', 'VB'),
('u', 'JJ'), ('on', 'IN'), ('fb', 'NN'), ('lololol', 'NN')]