Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Regular Expressions In Practical NLP example

import re

#match a word at the beginning of a string

result = re.match('Analytics',r'Analytics Vidhya is the largest data science community of India')
print(result)
Source by www.analyticsvidhya.com #
 
PREVIOUS NEXT
Tagged: #Regular #Expressions #In #Practical #NLP
ADD COMMENT
Topic
Name
6+2 =