Skip to main content

Extract phonological phylogenetic characters from aligned data

Project description

phonechars

phonechars is a Python library and command-line tool for extracting phonological phylogenetic characters from aligned lexical data, both for purposes of investigation into correspondence sets and phylogenetic analyses.

Installation

In any standard Python environment, phonechars can be installed with:

pip install phonechars

How to use

The library can be conveniently used by means of the phonechars command-line tool. While different options are available, a simple call to the program when provided the path to a wordlist of aligned data will generate three files with related information:

  • A .chars.tsv file, extending the alignment information with correspondences inferred by means of different methods (currently, only a method modified from List (2019) and available via the lingrex library is offered)
  • A .corrs.tsv file, informing the detected correspondences
  • A .nex (NEXUS) file, suitable for analysis with standard phylogenetic tools including SplitsTree and BEAST2

A demo file, with information from Ryukyuian dialects as presented in Huisman (2022), is distributed with the standard installation and can be used for testing the command-line tool:

$ phonechars demo/ryukyu.tsv

Community guidelines

While the author can be contacted directly for support, it is recommended that third parties use GitHub standard features, such as issues and pull requests, to contribute, report problems, or seek support.

Contributing guidelines, including a code of conduct, can be found in the CONTRIBUTING.md file.

Author and citation

The library is developed by Tiago Tresoldi (tiago.tresoldi@lingfil.uu.se). The library is developed in the context of the Cultural Evolution of Texts project, with funding from the Riksbankens Jubileumsfond (grant agreement ID: MXM19-1087:1).

If you use phonechars, please cite it as:

Tresoldi, Tiago, (2022). Phonechars: a Python library for extracting phonological phylogenetic characters. Version 0.1. Uppsala, University of Uppsala. https://github.com/tresoldi/phonechars

In BibTeX:

@misc{Tresoldi2022phonechars,
  url = {https://doi.org/10.21105/joss.03173},
  year = {2022},
  author = {Tiago Tresoldi},
  title = {Phonechars: a Python library for extracting phonological phylogenetic characters. Version 0.1},
  address = {Uppsala},
  publisher = {University of Uppsala}
}

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

phonechars-0.1.tar.gz (147.2 kB view details)

Uploaded Source

Built Distribution

phonechars-0.1-py3-none-any.whl (14.3 kB view details)

Uploaded Python 3

File details

Details for the file phonechars-0.1.tar.gz.

File metadata

  • Download URL: phonechars-0.1.tar.gz
  • Upload date:
  • Size: 147.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.10

File hashes

Hashes for phonechars-0.1.tar.gz
Algorithm Hash digest
SHA256 5ca5316e01d4ec080a505e019593e4f70b8ba96775789564d9795b699f7455c8
MD5 68b508f5fd51eaea5ea3f28db39bd293
BLAKE2b-256 979319201fc8111f91231f157b79b01ee953f03be3536d6d44bb61688a481c25

See more details on using hashes here.

File details

Details for the file phonechars-0.1-py3-none-any.whl.

File metadata

  • Download URL: phonechars-0.1-py3-none-any.whl
  • Upload date:
  • Size: 14.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.10

File hashes

Hashes for phonechars-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 dac02a26bcf7ea8869f4e2db67034fa0d64683ab44ee418cfb37459bd32181fb
MD5 1fb329f447700a6815773aa543b7a271
BLAKE2b-256 7b7cc7d4da89c37dae4f809de5fdda31d802d18bebc451976a72894036fcf403

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