ta.TwitterDB.cleanTweetText

TwitterDB.cleanTweetText(text)[source]

Method used to clean the tweet message. Hashtags, user screen names, links, and special characters are removed.

Parameters

text – the string to clean

Returns

the string after it’s been cleaned

Return type

text_clean

Examples

>>> cleanTweetText('re The text to Clean for @Jane!!! :) #python')
The text to Clean for