Skip to main content

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.

  1. publication/data_and_stats_from_the_paper.ipynb reproduces the data for the figures and the appendices of the paper
  2. publication/plots_from_the_paper.ipynb reproduces the figures in the publication
  3. 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 tool alparc to generate data and run the analysis. You can also use the command line tool directly from the terminal. The tool can be run with alparc --help
  4. 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

alparc-0.0.8.tar.gz (10.1 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

alparc-0.0.8-py3-none-any.whl (10.2 MB view details)

Uploaded Python 3

File details

Details for the file alparc-0.0.8.tar.gz.

File metadata

  • Download URL: alparc-0.0.8.tar.gz
  • Upload date:
  • Size: 10.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for alparc-0.0.8.tar.gz
Algorithm Hash digest
SHA256 3e1d8b7bac2f3138e7ec7bff1b0cac6ed3be5f5186b20b06541e6efe49096da7
MD5 4b6ea2b0a573ffe3ab536bebc34b80e5
BLAKE2b-256 40e93d350492fef1b4f340fa0c64bec974e0e07dfb9cdb434dfd73b295cff8a9

See more details on using hashes here.

File details

Details for the file alparc-0.0.8-py3-none-any.whl.

File metadata

  • Download URL: alparc-0.0.8-py3-none-any.whl
  • Upload date:
  • Size: 10.2 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for alparc-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 b159fd07f67de64ca331c6387c9bd3eeb8268a0bdff85d85d334a8e8c1b7844c
MD5 b3660c2e213b951c871e72492db34693
BLAKE2b-256 d616e9294f702a7882235bbf8d4485ad30af1290f2bedaebad7d08054fa91292

See more details on using hashes here.

Supported by

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