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.tsvfile, extending the alignment information with correspondences inferred by means of different methods (currently, only a method modified from List (2019) and available via thelingrexlibrary is offered) - A
.corrs.tsvfile, 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}
}
Metadata
Release files for phonechars 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| phonechars-0.1.tar.gz | 147.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| phonechars-0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 161.5 kB
Release files / phonechars-0.1.tar.gz
| Download URL | phonechars-0.1.tar.gz |
|---|---|
| Size | 147.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5ca5316e01d4ec080a505e019593e4f70b8ba96775789564d9795b699f7455c8
|
|
BLAKE2b-256 checksum How to use checksums |
979319201fc8111f91231f157b79b01ee953f03be3536d6d44bb61688a481c25
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.10
|
Release files / phonechars-0.1-py3-none-any.whl
| Download URL | phonechars-0.1-py3-none-any.whl |
|---|---|
| Size | 14.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dac02a26bcf7ea8869f4e2db67034fa0d64683ab44ee418cfb37459bd32181fb
|
|
BLAKE2b-256 checksum How to use checksums |
7b7cc7d4da89c37dae4f809de5fdda31d802d18bebc451976a72894036fcf403
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.10
|