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.

  • 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.

@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.1.tar.gz (63.1 kB view details)

Uploaded Source

Built Distribution

pylangacq-0.13.1-py3-none-any.whl (67.0 kB view details)

Uploaded Python 3

File details

Details for the file pylangacq-0.13.1.tar.gz.

File metadata

  • Download URL: pylangacq-0.13.1.tar.gz
  • Upload date:
  • Size: 63.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.5.0.1 requests/2.25.1 setuptools/54.1.2 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.9

File hashes

Hashes for pylangacq-0.13.1.tar.gz
Algorithm Hash digest
SHA256 09ee868eae8cb4cb1f9b91dc14460a6ed7389ce9b37ca6c0bf2a4aff5cfe8cb9
MD5 c62e2cc8a0abbebb32cded1a737d50b4
BLAKE2b-256 400a611cfae2ec3f4964e0115d6ead1132d2180539d9d5f17066aab177391de8

See more details on using hashes here.

File details

Details for the file pylangacq-0.13.1-py3-none-any.whl.

File metadata

  • Download URL: pylangacq-0.13.1-py3-none-any.whl
  • Upload date:
  • Size: 67.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.5.0.1 requests/2.25.1 setuptools/54.1.2 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.9

File hashes

Hashes for pylangacq-0.13.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1d6de05e76e3a732608ceb25ab36a7a65abbe1f14af8c6dde53adf6068f2c22a
MD5 04831be2cb249971aa74c984f2ccb965
BLAKE2b-256 dd6faa4674137c5a4da39c8007914a945ad2aa6d70878c95a281e5ac1b37ce2d

See more details on using hashes here.

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