Skip to main content

PyLangAcq: Language Acquisition Research in Python

Project description

Full documentation: https://pylangacq.org


PyPI version Supported Python versions Build

PyLangAcq is a Python library for language acquisition research.

  • Comprehensive capabilities of handling CHAT transcripts as used in CHILDES

  • Intuitive Python data structures for flexible data access and manipulation for modeling work

  • Standard developmental measures readily available: Mean length of utterance (MLU), type-token ratio (TTR), and index of productive syntax (IPSyn)

  • More benefits from Python: Fast prototyping, numerous libraries for computational modeling and machine learning

  • Powerful extensions for research with conversational data in general

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.

@TechReport{lee-et-al-pylangacq:2016,
   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},
}

License

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/README.md in the GitHub source code for details.

Changelog

Please see CHANGELOG.md.

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 https://github.com/jacksonllee/pylangacq.git
$ 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 build_docs.py

Project details


Download files

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

Source Distribution

pylangacq-0.13.0.tar.gz (63.4 kB view hashes)

Uploaded Source

Built Distribution

pylangacq-0.13.0-py3-none-any.whl (66.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page