PyLangAcq: Language Acquisition Research in Python
Project description
Full documentation: https://pylangacq.org
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.
Links
- Source code: https://github.com/jacksonllee/pylangacq
- Bug tracker, feature requests: https://github.com/jacksonllee/pylangacq/issues
- Email: Please contact Jackson Lee.
- Social media: Twitter
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.
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 |
Hashes for pylangacq-0.13.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d6de05e76e3a732608ceb25ab36a7a65abbe1f14af8c6dde53adf6068f2c22a |
|
MD5 | 04831be2cb249971aa74c984f2ccb965 |
|
BLAKE2-256 | dd6faa4674137c5a4da39c8007914a945ad2aa6d70878c95a281e5ac1b37ce2d |