python for linguists
Upcoming SlideShare
Loading in...5
×
 

python for linguists

on

  • 2,247 views

python, linguistics

python, linguistics

Statistics

Views

Total Views
2,247
Views on SlideShare
2,215
Embed Views
32

Actions

Likes
2
Downloads
27
Comments
0

4 Embeds 32

http://hanzinet.blogspot.com 27
http://www.slideshare.net 3
http://www.blogger.com 1
http://hanzinet.blogspot.com.es 1

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    python for linguists python for linguists Presentation Transcript

    • Python Programming for Linguists A 10-Min.Introduction Shu-Kai Hsieh Department of English, National Taiwan Normal University 2008
    • Why Programming?
    • or, Why Programming for Linguists? it’s just like second language acquisition ;-) linguists are the best programmers ;-) Linguistics 2.0: are you ready to be updated? empiricalistic,data-oriented, so what? it’s quite different now. From corpus-based to Google-based:(n-grams/collocation/lexicography/translation/textual pattern mining/multilingual applications...) IN ONE SENTENCE: transition from local data processing task to global language resources collaboration work
    • Why Python? because NASA, YouTube, Google like it? easy-to-learn? free of charge? cross-platform? okok, you need the true answer ? ...
    • It’s a Personal Choice.
    • The Philosophy Hidden Behind (C,PHP,Python,C#,and Java) vs. (C++,Perl,Javascript and Ruby)1 (Perl)There’s More Than One Way To Do It. (Python)Explicit is better than implicit, i.e., There should be one – and preferably only one – obvious way to do it. 1 http://lightyror.thegiive.net/2008/01/ruby-python.html
    • Some Technical Advantages embeddable (e.g., RPy, Praat-Py) NLTK: great modules for linguists With Parrot, we maybe use all (Perl) modules for Python.
    • Our Goals From small script (pattern extraction, frequency, etc) to bigger linguistic applications (Word Sketch Engine). Start from existing Corpus tools written in Python (e.g., TextSTAT)
    • Getting off the ground 1. Download python and install, 2. Using the interpreter prompt IDLE, and/or 3. Choosing an Editor (e.g.,Kate for linux). Note: need to script KATE to automagically Compile/Execute Programs