Infants and adults show the remarkable ability to learn from statistical regularities in the environment. Seminal studies on statistical learning in language acquisition suggested that transitional probabilities between syllables are decisive for word learning. Yet, recent work cautioned that acoustic and phonological regularities confound transitional probabilities, compromising interpretability. Furthermore, prior linguistic background can impact the learning of a new (artificial) language. To control for such confounds, we developed an open-source Python toolbox that generates Artificial Languages with Phonological and Acoustic Rhythmicity Controls (ALPARC). First, we explain all functionalities of ALPARC and provide a step-by-step guide. Then, we demonstrate how ALPARC generates syllable streams encompassing pseudowords that are tailored to critical statistics of real languages. Our results show that ALPARC streams attain stationary transitional probability distributions and reduce acoustic and phonological confounds relative to stimuli used in prior studies. We conclude that ALPARC is a useful tool to overcome current uncertainties in future SL studies.
Keywords: Python (programming language); artificial grammar learning; frequency-tagging; phonology; speech; statistical learning; toolbox; transitional probabilities.
Copyright © 2026 Titone, Milosevic and Meyer.