drop non alphabetic nlp python code example
Example: python remove non letters from string
def nospecial(text):
import re
text = re.sub("[^a-zA-Z0-9]+", "",text)
return text
def nospecial(text):
import re
text = re.sub("[^a-zA-Z0-9]+", "",text)
return text