Join our meetup, learn, connect, share, and get to know your Toronto AI community.
Browse through the latest deep learning, ai, machine learning postings from Indeed for the GTA.
Are you looking to sponsor space, be a speaker, or volunteer, feel free to give us a shout.
Hey all,
I’m using Tweepy for the first time and am trying my best to follow tutorials online. I’m trying to extract tweets given a certain hashtag and am wondering if it’s possible to filter further. I am trying to:
1) Save tweets with hashtags at the end only.
2) Have less than 4 hashtags in total.
3) Filter out all images and links.
I’m having trouble finding ways to implement the first two parameters. For #3 I’ve used the following and it seems to work: Print (tweet.created_at, re.sub(r”httpS+”, “”, tweet.full_text)) .
Hope someone with more experience can shed light on it for me. I am trying to recreate a paper and for their Twitter Corpus, they followed those guidelines.
submitted by /u/MrMegaGamerz
[link] [comments]