Catalog PyPI
PACKAGE EXPLORERView in registry

acqdiv

PyPI

Pipeline for the ACQDIV database

datalinguistics
Versions collected1
Direct dependencies0From release 1.1.0
Last observed20 Oct, 18:23 UTC

README

Version 1.1.0 documentation

ACQDIV

DOI PyPI version

CircleCI

This repository contains the code and configuration files for transforming the child language acquisition corpora into the ACQDIV database.

Publication

If you use the database in your reasearch, please cite as follows:

Jancso, Anna, Steven Moran, and Sabine Stoll.
"The ACQDIV Corpus Database and Aggregation Pipeline."
Proceedings of The 12th Language Resources and Evaluation Conference. 2020.

Link to Paper

Resources

Download the ACQDIV database (only public corpora):

DOI

To request access to the full database including the private corpora (for research purposes only!), please refer to Sabine Stoll. In case of technical questions, please open an issue on this repository.


Corpora

Our full database consists of the following corpora:

CorpusISOPublic# Words
Chintang Language Corpusctnno987'673
Cree Child Language Acquisition Study (CCLAS) Corpuscreyes44'751
English Manchester Corpusengyes2'016'043
MPI-EVA Jakarta Child Language Databaseindyes2'489'329
Allen Inuktitut Child Language Corpusikeno71'191
MiiPro Japanese Corpusjpnyes1'011'670
Miyata Japanese Corpusjpnyes373'021
Ku Waru Child Language Socialization Studymuxyes65'723
Sarvasy Nungon Corpusyuwyes19'659
Qaqet Child Language Documentationbyxno56'239
Stoll Russian Corpusrusno2'029'704
Demuth Sesotho Corpussotyes177'963
Tuatschin Corpusrohno118'310
Koç University Longitudinal Language Development Databaseturno1'120'077
Pfeiler Yucatec Child Language Corpusyuano262'382
Total10'843'735

Running the pipeline

For Windows users, follow the installation/run instructions here: https://github.com/acqdiv/acqdiv/wiki/Installation-Run-instructions-for-Windows

For Mac and Linux user, continue here to run the pipeline yourself:

Install the package

Create a virtual environment [optional]:

python3 -m venv venv
source venv/bin/activate

You can install the package from PyPI or directly from source:

PyPI

pip install acqdiv

From source

# Clone Repository
git clone git@github.com:acqdiv/acqdiv.git
cd acqdiv

# Install package (for users!)
pip install .

# Developer mode (for developers!)
pip install -r requirements.txt

Get the corpora

Run the following script to download the public corpora:

python util/download_public_corpora.py

The corpora are in the folder corpora.

For the private corpora, either place the session files in corpora/<corpus_name>/{cha|toolbox}/ and the metadata files (only Toolbox corpora) in corpora/<corpus_name>/imdi/ or edit the paths to those files in the config.ini (also see below).

Generate the database

Get the configuration file src/acqdiv/config.ini and specify the absolute paths (without trailing slashes) for the corpora directory (corpora_dir) and the directory where the database should be written to (db_dir):

[.global]
# directory containing corpora
corpora_dir = /absolute/path/to/corpora/dir
# directory where the database is written to
db_dir = /absolute/path/to/database/dir
...

Optionally adapt the paths for the individual corpora (sessions and metadata_dir).

Run the pipeline specifying the absolute path to the configuration file:
acqdiv load -c /absolute/path/to/config.ini

Generate the R object

Install dependencies

$ R
> install.packages("RSQLite")
> install.packages("rlang")

Navigate to src/acqdiv/database and run:

Rscript sqlite_to_r.R /absolute/path/to/sqlite-DB

Run tests

Run the unittests:
pytest tests/unittests

Run the integrity tests on the database:
pytest tests/systemtests

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
1.1.01 Dec 20200

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
acqdiv/acqdiv

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 18:23 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:6c386c6399c8c090c8b24c6ae0e29818854fe8ba624c69fb2bf791e2ab04d06c