Coding Corner:
Tools and Resources
Despite having formal training only in a quantitative methods class for R, I’ve primarily learned coding through self-study, asking colleagues, and extensive googling. My drive to find solutions for automation and problem-solving has continually pushed me to learn different coding languages throughout my life.
Years ago, as a teacher, I needed a way to automate grading to focus more on project-based learning. This necessity led me to learn HTML, starting with small tasks and gradually building my skills as new needs arose. This experience taught me that learning a little at a time and applying it to real problems can lead to significant progress over time.
I hope this inspires anyone new to coding to realize it can be approachable and manageable. Trust me, if I could figure it out, so can you.
My Learning Journey
Welcome to my Coding Corner! This space is dedicated to providing curious minds with valuable resources for Praat, R, and LaTeX, showcasing scripts, code snippets, and tools to enhance projects and workflows.
Developed by Paul Boersma and David Weenink at the University of Amsterdam, Praat is a powerful tool for linguistic analysis, including phonetic analysis and speech synthesis. It supports scripting, allowing automation of repetitive tasks and complex analyses. Manuals and tutorials are available on the Praat website.
I learned Praat scripting to automate data labeling and extraction for statistical analysis in R. Starting with editing existing scripts and seeking help, I eventually wrote my own scripts and functions.
Useful Praat Scripts
​The scripts below are meant as tools to assist with linguistic analysis using Praat. I have carefully annotated them for ease of use to help you get started quickly and effectively.
​
P
r
a
a
t
RStudio is a comprehensive development environment for R, a programming language designed for statistical computing and graphics. This combination makes R and RStudio powerful tools widely used in linguistics for data analysis. I use them for various tasks, including data cleaning, coding, statistical analysis, and creating visualizations. With R's extensive libraries and RStudio's user-friendly interface, you can efficiently manage large datasets, perform complex statistical analyses, and generate informative visualizations to support your research.
Useful R Resources
R for Data Science by Garrett Grolemund, Mine Çetinkaya-Rundel, and Hadley Wickham - A comprehensive introduction to R and data science.
​
Statistics for Linguists: An Introduction using R by Bodo Winter - An accessible introduction to R and statistical analysis
Statistics for Linguists by Dr. Gerold Schneider and Max Lauber - An introduction to statistics for linguists
R-bloggers - A blog aggregator that features tutorials, tips, and articles on R from around the web.
R
S
t
u
d
i
o
L
a
T
e
X
LaTeX is a powerful typesetting system widely used in academia for creating professional-looking documents. It is particularly useful in linguistics for writing complex documents with symbols, tables, examples, visuals, and references. LaTeX ensures consistent formatting and can handle large documents with ease, making it ideal for theses, dissertations, and research papers. For my work, I often use TeXstudio, an integrated writing environment that makes working with LaTeX more efficient and user-friendly, similar to how RStudio complements R.
Useful LaTeX Resources
LaTeX guide for beginners by Pedro Tiago Martins - A very useful short and simple guide.
LaTeX Wikibook - A thorough and detailed introduction to LaTeX, covering a wide range of topics.
​
LaTeX for Linguists by Anke Himmelreich - A comprehensive guide and reference book for beginners and experts alike.
LaTeX/Linguistics Wikibook - An overview of useful LaTeX packages for Linguists
​
Overleaf - Basically the Google Docs of LaTeX, an online editor with comprehensive guides and tutorials. Very useful for collaboration.