Slides - University of Washington
Slides - University of Washington
Slides - University of Washington
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
<strong>University</strong> <strong>of</strong> <strong>Washington</strong><br />
Ling472 Introduction to Computational Linguistics<br />
Lecture 1:<br />
Introduction<br />
Python RegEx<br />
• input = ‘The Kiwis is a team.’<br />
• input = re.sub(‘is’, ‘are’, input)<br />
• print input<br />
‘The Kiwis are a team’<br />
Monday, April 1, 2013<br />
61