Currently Available, Usually Ships in 24-48 Hours
Questions About This Book?
Why should I rent this book?
Renting is easy, fast, and cheap! Renting from eCampus.com can save you hundreds of dollars compared to the cost of new or used books each semester. At the end of the semester, simply ship the book back to us with a free UPS shipping label! No need to worry about selling it back.
How do rental returns work?
Returning books is as easy as possible. As your rental due date approaches, we will email you several courtesy reminders. When you are ready to return, you can print a free UPS shipping label from our website at any time. Then, just return the book to your UPS driver or any staffed UPS location. You can even use the same box we shipped it in!
What version or edition is this?
This is the edition with a publication date of 9/30/2014.
What is included with this book?
- The New copy of this book will include any supplemental materials advertised. Please check the title of the book to determine if it should include any CDs, lab manuals, study guides, etc.
- The Rental copy of this book is not guaranteed to include any supplemental materials. You may receive a brand new copy, but typically, only the book itself.
Linguistic research increasingly relies on large electronic corpora for its primary data. While off-the-shelf programs can perform a set of standard searches, specialized questions usually require a custom-written program to find their answers. Essential Python for Corpus Linguistics uses the programming language Python to explain how to write simple programs that extract linguistically useful information, such as the frequency of a given utterance in a particular context within a corpus, or instances of certain phrasal structures in a Treebank. Assuming no prior programming background, the book provides numerous example programs that search for phonological, morphological and syntactic constructions in corpora, and the associated web site provides sample data and programs, which make it easy to start working independently. This book is a valuable resource for linguists who use corpus methods but have no programming training.
Table of Contents
I. Introduction II. Getting Started bull;Downloading and Installing Python bull;Checking that it Works bull;Using Python as a Calculator bull;String bull;Lists bull;Variables and Assignment Statements bull;Counting Lines and Words bull;Exercises III. More on Sequences bull;Tuples bull;Operations on Sequences bull;List Operations bull;String Operations IV. Tests and Control bull;Equality comparison and membership tests bull;The IF statement bull;The FOR statement bull;Example programs bull;Exercises V. Dictionaries and Functions bull;Dictionaries bull;Defining Functions bull;Example programs bull;Exercises VI. Additional Python Topics bull;Modules bull;Custom Sorting bull;List Comprehensions bull;String formatting or interpolation bull;File input and output bull;Unicode bull;Example Programs bull;Exercises VII. Regular Expressions bull;Applications of Regular Expressions bull;Using regular expressions in Python bull;Using regular expression objects bull;Example: Reading CHAT files bull;Homework VIII. Reading bull;Using the DOM to search a treebank bull;Using the CHILDES