Artificial languages with rhythmicity, phonological, and acoustic controls
Project description
ALPARC
This is code for our work The ALPARC Toolbox: Artificial Languages with Phonological and Acoustic Rhythmicity Control
Setup
The following describes how you can set up the software and run the experiments from the paper.
Install Package
The simplest is to clone this repository and install ALPARC in editable mode:
pip install -e .
If you want to use ALPARC as a package, you can install it directly from git with
pip install git+https://github.com/milosen/alparc.git
Run the code from the paper
Clone this repository. Install jupyter
pip install jupyter
If you use a virtual environement, you also need to install the ipython-kernel:
python -m ipykernel install --user --name=alparc
In this case, don't forget to select the alparc kernel in the jupyter session's kernel option (Kernel -> Change kernel -> alparc).
Start jupyter
jupyter notebook
and select the notebook you want.
publication/data_and_stats_from_the_paper.ipynbreproduces the data for the figures and the appendices of the paperpublication/plots_from_the_paper.ipynbreproduces the figures in the publication- Optional: If you want to generate or diagnose your own data, please have a look at the tutorial on how to use the command line tool:
workshop/00_basic_command_line_usage.ipynb. This notebook shows how to use the command line toolalparcto generate data and run the analysis. You can also use the command line tool directly from the terminal. The tool can be run withalparc --help - Optional: If you want to adapt ALPARC to your own research needs, you'll probably want to take a closer look at the library, or even the internals of the toolbox. More notebooks on that can be found in ALPARC's Workshop Directory
Citation
Please cite our work as
@article {Titone2024ALPARC,
author = {Titone, Lorenzo and Milosevic, Nikola and Meyer, Lars},
title = {The ALPARC Toolbox: Artificial Languages with Phonological and Acoustic Rhythmicity Control},
elocation-id = {2024.05.24.595268},
year = {2024},
doi = {10.1101/2024.05.24.595268},
publisher = {Cold Spring Harbor Laboratory},
URL = {https://www.biorxiv.org/content/early/2024/05/24/2024.05.24.595268},
eprint = {https://www.biorxiv.org/content/early/2024/05/24/2024.05.24.595268.full.pdf},
journal = {bioRxiv}
}
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file alparc-0.0.4.tar.gz.
File metadata
- Download URL: alparc-0.0.4.tar.gz
- Upload date:
- Size: 72.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b90741abc997c3eabb3167c4592cf0c98453607c90aca8f99334ae4e67fdf7c0
|
|
| MD5 |
a753b518da3942406784a25b2b1e439c
|
|
| BLAKE2b-256 |
f971c78f04c77fc4fafcfa93171712752ae6c537d2cc252885004dbeb056f4c6
|
File details
Details for the file alparc-0.0.4-py3-none-any.whl.
File metadata
- Download URL: alparc-0.0.4-py3-none-any.whl
- Upload date:
- Size: 81.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3e01cb99b8ca79b33ac9965af899d7c88fb1da0881b874584d9061f9c1836aad
|
|
| MD5 |
c95fd7509f7b4986fe161523050ba5b6
|
|
| BLAKE2b-256 |
4c33bc75a3e218327beab991e2bb17d7e5fee963f9d788aba1c6ea61728c3990
|