I would like to delete words in phrases.
For example, I have this paragraph:
Do you know what would be amazingly awesome? BOS-FLL PLEASE!!!!!!! I want to fly with only you.
I love this graphic.
amazing customer service, again! <3 <3 RaeAnn in SF - she's the best! #customerservice
Love the team running Gate E9 at LAS tonight. Waited for a delayed flight, and they kept things entertaining
you have the absolute best team and customer service ever. Every time I fly with you I'm delighted. Thank you!
I got 4 phrases in a list, and I want to delete every term like "the"
I tried like it :
for i in tweets_dev:
i.replace("the"," ")
print(i)
but it didn't works!
I got always "the" on my list. Please guide me on what is the main error, and how I can perform above mention task. Thanks in advance.
thanks for reading