Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

removing stop words from the text

pattern = re.compile(r'(' + r'|'.join(stopwords.words('english')) + r')s*')
text = pattern.sub('', "eswar and co and the smartext kid")
 
PREVIOUS NEXT
Tagged: #removing #stop #words #text
ADD COMMENT
Topic
Name
4+5 =