Added: Jul 26, 2008
From: pycon08
Duration: 26:59
PyCon 2008 Talk by Anna M Ravenscroft (Stanford University)Text parsing - breaking up text into smaller parts for processing - is a common task for programmers. Whether you're tokenizing a sentence for Part of Speech tagging in computational linguistics, automatically checking logs for specific errors, or doing Hidden Markov Models to output Emily Dickinson-style poems, chances are, at some point in your programming, you'll need to do text parsing.One of the most common methods of doing text parsing uses a specialized pattern-recognition language called regular expressions. Regular expressions (REs) can be intimidating to a new programmer; they may try to avoid REs at all costs. Others will turn to REs out of unfamiliarity with the wonders of Python native string manipulation. This talk will focus on the basics: * when and how can you use Python's native string methods, * when to consider REs, and * how to do simple text parsing.Slides available at http://us.pycon.org/2008/conference/schedule/event/63/
Channel: Tech
Tags: 2008 newbie parsing pycon python regex
Rating: 5.00 (3 ratings) Views: 1155' favoriteCount='4 Comments: