Skip to main content

PyLangAcq: Language Acquisition Research in Python

Project description

Full documentation:

PyPI version Supported Python versions Build

PyLangAcq is a Python library for language acquisition research.

  • Easy access to CHILDES CHAT datasets, with both local data loading and direct downloading from CHILDES supported right from your own Python code
  • Intuitive Python data structures for flexible data access and manipulation
  • Standard developmental measures readily available: Mean length of utterance (MLU), type-token ratio (TTR), and index of productive syntax (IPSyn)
  • Powerful extensions possible for other CHAT-based conversational data from TalkBank

Download and Install

To download and install the most recent version:

$ pip install --upgrade pylangacq

To test your installation in the Python interpreter:

>>> import pylangacq
>>> pylangacq.__version__  # show version number

Ready for more? Check out the Quickstart page.

How to Cite

PyLangAcq is authored and maintained by Jackson L. Lee.

Lee, Jackson L., Ross Burkholder, Gallagher B. Flinn, and Emily R. Coppess. 2016. Working with CHAT transcripts in Python. Technical report TR-2016-02, Department of Computer Science, University of Chicago.

   Title       = {Working with CHAT transcripts in Python},
   Author      = {Lee, Jackson L. and Burkholder, Ross and Flinn, Gallagher B. and Coppess, Emily R.},
   Institution = {Department of Computer Science, University of Chicago},
   Year        = {2016},
   Number      = {TR-2016-02},


MIT License. Please see LICENSE.txt in the GitHub source code for details.

The test data files included come from CHILDES, and have a CC BY-NC-SA 3.0 license instead; please also see pylangacq/tests/test_data/ in the GitHub source code for details.


Please see

Setting up a Development Environment

The latest code under development is available on Github at jacksonllee/pylangacq. To obtain this version for experimental features or for development:

$ git clone
$ cd pylangacq
$ pip install -r dev-requirements.txt
$ pip install -e .

To run tests and styling checks:

$ pytest -vv --doctest-modules --cov=pylangacq pylangacq docs
$ flake8 pylangacq
$ black --check pylangacq

To build the documentation website files:

$ python

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pylangacq, version 0.13.1
Filename, size File type Python version Upload date Hashes
Filename, size pylangacq-0.13.1-py3-none-any.whl (67.0 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size pylangacq-0.13.1.tar.gz (63.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page