Essential Programming for Linguistics
-
Martin Weisser
About this book
Additional Materials and Sources
A gentle introduction to programming for students and researchers interested in conducting computer-based analysis in linguistics, this book is an ideal starting point for linguists approaching programming for the first time. Assuming no background knowledge of programming, the author introduces basic notions and techniques needed for linguistic programming and helps readers to develop their understanding of electronic texts.
The book includes many examples based on diverse topics in linguistics in order to demonstrate the applicability of the concepts at the heart of programming. Practical examples are designed to help the reader to
- Identify basic issues in handling language data, including Unicode processing
- Conduct simple analyses in morphology/morphosyntax, and phonotactics
- Understanding techniques for matching linguistic patterns
- Learn to convert data into formats and data structures suitable for linguistic analysis
- Create frequency lists from corpus materials to gather basic descriptive statistics on texts
- Understand, obtain and 'clean up' web-based data
- Design graphical user interfaces for writing more efficient and easy-to-use analysis tools.
Two different types of exercise help readers to learn to interpret and understand illustrative sample code, and then develop algorithmic thinking and solution strategies through turning a series of instructions into sample programs. Readers will be equipped with the necessary tools for designing their own extended projects.
Key Features
- Ideal introduction for students of linguistics attempting to process corpus materials or literary texts for dissertations, theses or advanced research work
- Linguistic examples throughout the text clearly demonstrate the application of programming theory and techniques
- Coverage ranging from basic to more complex topics and methodologies enables the reader to work at their own pace
- Two chapters on the advantages of modularity and associated issues provide a basis for more advanced projects
- A concluding chapter introduces graphical user interfaces, providing a basis for user-friendly programs and multi-lingual analysis.
Topics
-
Download PDFPublicly Available
Frontmatter
i -
Download PDFPublicly Available
CONTENTS
v -
Download PDFPublicly Available
LIST OF FIGURES
viii -
Download PDFPublicly Available
LIST OF TABLES
ix -
Download PDFPublicly Available
ACKNOWLEDGEMENTS
x -
Download PDFRequires Authentication UnlicensedLicensed
1 INTRODUCTION
1 -
Download PDFRequires Authentication UnlicensedLicensed
2 BASIC PROGRAMMING CONCEPTS – 1
14 -
Download PDFRequires Authentication UnlicensedLicensed
3 BASIC PROGRAMMING CONCEPTS – 2
30 -
Download PDFRequires Authentication UnlicensedLicensed
4 WORKING WITH TEXT (BASIC STRING HANDLING)
48 -
Download PDFRequires Authentication UnlicensedLicensed
5 WORKING WITH STORED DATA (BASIC FILE HANDLING)
56 -
Download PDFRequires Authentication UnlicensedLicensed
6 IDENTIFYING TEXTUAL PATTERNS (BASIC AND EXTENDED REGULAR EXPRESSIONS)
69 -
Download PDFRequires Authentication UnlicensedLicensed
7 MODIFYING TEXTUAL PATTERNS (SUBSTITUTION AND TRANSLITERATION)
80 -
Download PDFRequires Authentication UnlicensedLicensed
8 GETTING THINGS INTO THE RIGHT ORDER (BASIC SORTING)
91 -
Download PDFRequires Authentication UnlicensedLicensed
9 ELEMENTARY TEXTS STATS (CREATING BASIC FREQUENCY LISTS)
95 -
Download PDFRequires Authentication UnlicensedLicensed
10 MORE REPETITIVENESS OR HOW TO TIE THINGS TOGETHER (INTRODUCING MODULARITY)
99 -
Download PDFRequires Authentication UnlicensedLicensed
11 OBJECTS
115 -
Download PDFRequires Authentication UnlicensedLicensed
12 GETTING GRAPHICAL (SIMPLE USER INTERFACES)
121 -
Download PDFRequires Authentication UnlicensedLicensed
13 CONCLUSION
137 -
Download PDFRequires Authentication UnlicensedLicensed
Appendix A SAMPLE SOLUTIONS
139 -
Download PDFRequires Authentication UnlicensedLicensed
Appendix B HOW TO GET FURTHER HELP ON PERL
167 -
Download PDFRequires Authentication UnlicensedLicensed
REFERENCES
169 -
Download PDFRequires Authentication UnlicensedLicensed
INDEX
171