Programming for Linguists: Perl for Language Researchers
โ Scribed by Michael Hammond
- Publisher
- Wiley-Blackwell
- Year
- 2003
- Tongue
- English
- Leaves
- 234
- Category
- Library
No coin nor oath required. For personal study only.
โฆ Synopsis
I hate to write negative reviews, but this book deserves it. Both the title, "Programming for Linguists," and the subtitle, "Perl for Language Researchers," are misleading. This book is really just another "Perl for Dummies" book, and not a very good one. There is no code here that is relevant to either linguistics or language research. Linguists who want to learn Perl would be better off with an introductory text from O'Reilly.
โฆ Table of Contents
Programming for Linguists: Perl for Language Researchers......Page 5
Contents......Page 7
Preface......Page 11
Acknowledgments......Page 13
1.1 Why programming?......Page 15
1.2 Why Perl?......Page 16
1.4 How to read this book......Page 17
2.1.1 Edit......Page 19
2.1.2 Run......Page 20
2.4 Exercises......Page 21
3.1 Statements......Page 22
3.2 Numbers and strings......Page 23
3.3 Variables......Page 25
3.4 Arrays......Page 27
3.5.1 if......Page 29
3.5.2 while......Page 33
3.5.4 foreach......Page 37
3.6 Experimental materials......Page 38
3.7 Summary......Page 41
3.8 Exercises......Page 42
4.1 Overview......Page 44
4.2 The command line......Page 45
4.3 Prompt input......Page 46
4.4 Prompt output......Page 48
4.5 File IO......Page 50
4.6.1 Array operations......Page 54
4.6.2 Randomizing......Page 55
4.7 Collecting experimental data......Page 57
4.8 Summary......Page 58
4.9 Exercises......Page 59
5.1 Japhs......Page 60
5.2 Style and comments......Page 61
5.3 The anonymous variables......Page 64
5.4 Subroutines......Page 66
5.5 Localizing information......Page 68
5.6 Arguments......Page 71
5.7 Collecting more experimental data......Page 75
5.8 Modules......Page 77
5.9 Multidimensional arrays......Page 79
5.10 Localizing variables......Page 82
5.11 Subroutines to modules......Page 85
5.12 Using Exporter......Page 87
5.13 Taking advantage of separate modules......Page 91
5.15 Exercises......Page 93
6.1 Basic syntax......Page 94
6.2 Special characters......Page 96
6.3 Commenting regular expressions......Page 97
6.4 Extra stuff......Page 98
6.5 Using variables in regular expressions......Page 99
6.6 Greediness......Page 101
6.7 Pig Latin......Page 102
6.8 Sentences......Page 104
6.9 Summary......Page 106
6.10 Exercises......Page 107
7.1 s///......Page 108
7.2 tr///......Page 111
7.3 split() and join()......Page 113
7.4 The anonymous variable again......Page 116
7.5 sort()......Page 118
7.6 Hashes......Page 121
7.6.1 exists()......Page 122
7.6.2 delete()......Page 123
7.6.3 keys()......Page 124
7.6.4 values()......Page 126
7.6.5 each()......Page 127
7.7 Concordances......Page 128
7.8 Bigrams......Page 132
7.10 Exercises......Page 133
8.1 How the web works......Page 135
8.2 Basic HTML......Page 136
8.3 Mounting your pages......Page 144
8.4 Links......Page 145
8.5 Searching the web......Page 149
8.6 Summary......Page 152
8.7 Exercises......Page 153
9.1 CGI access......Page 154
9.2 Simple CGI......Page 155
9.4 HTTP requests......Page 159
9.5 Using links to interact......Page 161
9.6 HTML forms......Page 167
9.7 Running an experiment over the web......Page 178
9.8 A glitch......Page 183
9.9 Summary......Page 184
9.10 Exercises......Page 185
A.1 Object-oriented programming......Page 187
A.2 References......Page 189
A.3 Basic syntax......Page 194
A.4 Using objects......Page 197
A.5 Summary......Page 200
B.1 Installing Tk......Page 202
B.2 Building a GUI......Page 203
B.3 Geometry management......Page 204
B.4.1 Button......Page 207
B.4.2 Label......Page 209
B.4.3 Radiobutton......Page 211
B.4.4 Changing things......Page 215
B.5 Graphic experiments......Page 217
B.6 Summary......Page 221
Appendix C Special Variables......Page 223
D.2 The web......Page 224
D.4 Other books......Page 225
Index......Page 227
๐ SIMILAR VOLUMES
<i><br><p>Programming for Linguists: Java (TM) Technology for Language Researchers</i> is a practical introduction to programming using the Java Programming Language for linguists and related language professionals.Content: <br>Chapter 1 Why Programming and Why Javaโข Programming? (pages 1โ4): <br>Ch
Programming for Linguists: Java (TM) Technology for Language Researchers is a practical introduction to programming using the Java Programming Language for linguists and related language professionals.
Working on the assumption that the reader has no formal training in programming, <I>Perl Programming for Biologists</I> demonstrates how Perl is used to solve biological problems. Each chapter opens with a set of learning objectives, provides numerous review questions and self-study exercises, and c