Slides - University of Washington
Slides - University of Washington
Slides - University of Washington
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
<strong>University</strong> <strong>of</strong> <strong>Washington</strong><br />
Ling472 Introduction to Computational Linguistics<br />
Lecture 1:<br />
Introduction<br />
• Search<br />
• Search and replace<br />
• In python:<br />
RegEx<br />
import re<br />
re.sub(pattern, replacement, string)<br />
Monday, April 1, 2013<br />
60