Python Forum
Remove a sentence if it contains a word.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Remove a sentence if it contains a word.
#4
you can also use existing packages
here's one that claims to be much faster than regex: https://pypi.org/project/better-profanity/
Reply


Messages In This Thread
RE: Remove a sentence if it contains a word. - by Larz60+ - Feb-10-2020, 12:33 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Question Problem: Check if a list contains a word and then continue with the next word Mangono 2 2,558 Aug-12-2021, 04:25 PM
Last Post: palladium
  remove vowels in word with conditional ambrozote 12 4,222 May-02-2021, 06:57 PM
Last Post: perfringo
  while sentence kimyyya 3 2,990 Mar-20-2021, 06:00 AM
Last Post: Pedroski55
  List / arrays putting in sentence Kurta 3 2,593 Dec-25-2020, 11:29 AM
Last Post: Larz60+
  How to make a telegram bot respond to the specific word in a sentence? Metodolog 2 6,412 Dec-22-2020, 07:30 AM
Last Post: martabassof
  How to match partial sentence in long sentence Mekala 1 1,549 Jul-22-2020, 02:21 PM
Last Post: perfringo
  Python Speech recognition, word by word AceScottie 6 16,102 Apr-12-2020, 09:50 AM
Last Post: vinayakdhage
  Regex Help for clubbing similar sentence segments regstuff 3 2,178 Nov-20-2019, 06:46 AM
Last Post: perfringo
  Cannot Remove the Double Quotes on a Certain Word (String) Python BeautifulSoup soothsayerpg 5 7,172 Oct-27-2019, 09:53 AM
Last Post: newbieAuggie2019
  print a word after specific word search evilcode1 8 4,933 Oct-22-2019, 08:08 AM
Last Post: newbieAuggie2019

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020