lingrex


Namelingrex JSON
Version 1.4.1 PyPI version JSON
download
home_pagehttps://github.com/lingpy/lingrex
SummaryLinguistic reconstruction with LingPy
upload_time2023-10-17 05:58:06
maintainer
docs_urlNone
authorJohann-Mattis List and Robert Forkel
requires_python
license
keywords historical linguistics computational linguistics computer-assisted language comparison
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # LingRex: Linguistic Reconstruction with LingPy

[![Build Status](https://github.com/lingpy/lingrex/workflows/tests/badge.svg)](https://github.com/lingpy/lingrex/actions?query=workflow%3Atests)
[![DOI](https://zenodo.org/badge/doi/10.5281/zenodo.1544943.svg)](https://doi.org/10.5281/zenodo.1544943)
[![PyPI version](https://badge.fury.io/py/lingrex.png)](https://badge.fury.io/py/lingrex)

LingRex offers the code needed for the automatic inference of sound correspondence patterns as described in the following paper:

> List, J.-M. (2019): Automatic inference of sound correspondence patterns across multiple languages. Computational Linguistics 45.1. 137-161. [DOI: 10.1162/coli_a_00344](https://doi.org/10.1162/coli_a_00344)

To test this workflow, please check the workflow code example in [`tests/workflows/list-2019`](tests/workflows/list-2019).

LingRex offers also the code needed for a baseline algorithm for automatic word prediction or automatic phonological reconstruction in a supervised fashion.

> List, J.-M. and R. Forkel and N. W. Hill (2022): A New Framework for Fast Automated Phonological Reconstruction Using Trimmed Alignments and Sound Correspondence Patterns. Proceedings of the 3rd International Workshop on Computational Approaches to Historical Language Change (LChange 2022). Dublin. Ireland. https://aclanthology.org/2022.lchange-1.9

This algorithm is also used as a baseline for a Shared Task on the Prediction of Cognate Reflexes (https://sigtyp.github.io/st2022.html), organized as part of the SIGTYP Workshop at NAACL 2022.

> List, J.-M., E. Vylomova, R. Forkel, N. Hill, and R. Cotterell (2022): The SIGTYP shared task on the prediction of cognate reflexes. In: Proceedings of the 4th Workshop on Computational Typology and Multilingual NLP. Association for Computational Linguistics 52-62. https://aclanthology.org/2022.sigtyp-1.7

Methods for the handling of partial cognates were introduced in a study by Wu and List (2023):

> Wu, M.-S. and J.-M. List (2023): Annotating cognates in phylogenetic studies of South-East Asian languages. Language Dynamics and Change. https://doi.org/10.1163/22105832-bja10023

Methods for the trimming of phonetic alignments were introduced in a study by Blum and List (2023):

> Blum, F. and J.-M. List (2023): Trimming phonetic alignments improves the inference of sound correspondence patterns from multilingual wordlists. In: Proceedings of the 5th Workshop on Computational Typology and Multilingual NLP. Association for Computational Linguistics 52-64. https://aclanthology.org/2023.sigtyp-1.6.pdf

Methods for the handling and creation of fuzzy / uncertain phonological reconstructions were introduced in a study by List et al. (forthcoming):

> List, J.-M.; Hill, N. W.; Blum, F.; and Forkel, R. (forthcoming): A New Framework for the Representation and Computation of Uncertainty in Phonological Reconstruction. To appear in:  Proceedings of the 4th Workshop on Computational Approaches to Historical Language Change.

When using this package in your research, please make sure to quote the respective papers, depending on the algorithms you use, and quote the software package as follows:

> List, J.-M. and R. Forkel (2023): LingRex: Linguistic Reconstruction with LingPy. [Computer software, Version 1.4.0]. With contributions by Frederic Blum and Mei-Shin Wu. Leipzig: Max Planck Institute for Evolutionary Anthropology. https://pypi.org/project/lingrex

Since this software package itself makes use of LingPy's alignment algorithms, you should also quote the LingPy package itself.

> List, J.-M. and R. Forkel (2023): LingPy. A Python library for quantitative tasks in historical linguistics. Version 2.6.10. Max Planck Institute for Evolutionary Anthropology: Leipzig. https://lingpy.org

## Installation

Install the package via `pip`:

```shell
pip install lingrex
```

## Further Examples

The borrowing detection algorithm implemented in LingRex is introduced in the
paper:

> List, J.-M. and R. Forkel (2021): Automated identification of borrowings in multilingual wordlists [version 1; peer review: 3 approved, 1 approved with reservations]. Open Research Europe 1.79. 1-11. [DOI: 10.12688/openreseurope.13843.1](https://doi.org/10.12688/openreseurope.13843.1)

If you use this algorithm, please cite LingRex and this paper.

In addition to the paper in which the correspondence pattern inference algorithm was first introduced, LingRex also offers the code to compute the workflow described in the following paper:

> Wu, M.-S., N. Schweikhard, T. Bodt, N. Hill, and J.-M. List (2020): Computer-Assisted Language Comparison. State of the Art. Journal of Open Humanities Data 6.2. 1-14. [DOI: 10.5334/johd.12](https://doi.org/10.5334/johd.12)

To test this workflow, please check the workflow code example in `tests/workflows/wu-2020`. 

If you use this workflow in your work, please quote this paper as well.

In addition, our experiment (with T. Bodt) on predicting words with the help of sound correspondence patterns also made use of the LingRex package.

> Bodt, T. and J.-M. List (2021): Reflex prediction. A case study of Western Kho-Bwa. Diachronica 0.0. 1-38. [DOI: 10.1075/dia.20009.bod](https://doi.org/10.1075/dia.20009.bod)

To test this workflow, please check the workflow code example in `tests/workflows/bodt-2019`.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/lingpy/lingrex",
    "name": "lingrex",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "historical linguistics,computational linguistics,computer-assisted language comparison",
    "author": "Johann-Mattis List and Robert Forkel",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/db/b3/70a582546ff2fc1f4899aca677e3d6294dc88657508299ddf40911f1cf60/lingrex-1.4.1.tar.gz",
    "platform": null,
    "description": "# LingRex: Linguistic Reconstruction with LingPy\n\n[![Build Status](https://github.com/lingpy/lingrex/workflows/tests/badge.svg)](https://github.com/lingpy/lingrex/actions?query=workflow%3Atests)\n[![DOI](https://zenodo.org/badge/doi/10.5281/zenodo.1544943.svg)](https://doi.org/10.5281/zenodo.1544943)\n[![PyPI version](https://badge.fury.io/py/lingrex.png)](https://badge.fury.io/py/lingrex)\n\nLingRex offers the code needed for the automatic inference of sound correspondence patterns as described in the following paper:\n\n> List, J.-M. (2019): Automatic inference of sound correspondence patterns across multiple languages. Computational Linguistics 45.1. 137-161. [DOI: 10.1162/coli_a_00344](https://doi.org/10.1162/coli_a_00344)\n\nTo test this workflow, please check the workflow code example in [`tests/workflows/list-2019`](tests/workflows/list-2019).\n\nLingRex offers also the code needed for a baseline algorithm for automatic word prediction or automatic phonological reconstruction in a supervised fashion.\n\n> List, J.-M. and R. Forkel and N. W. Hill (2022): A New Framework for Fast Automated Phonological Reconstruction Using Trimmed Alignments and Sound Correspondence Patterns. Proceedings of the 3rd International Workshop on Computational Approaches to Historical Language Change (LChange 2022). Dublin. Ireland. https://aclanthology.org/2022.lchange-1.9\n\nThis algorithm is also used as a baseline for a Shared Task on the Prediction of Cognate Reflexes (https://sigtyp.github.io/st2022.html), organized as part of the SIGTYP Workshop at NAACL 2022.\n\n> List, J.-M., E. Vylomova, R. Forkel, N. Hill, and R. Cotterell (2022): The SIGTYP shared task on the prediction of cognate reflexes. In: Proceedings of the 4th Workshop on Computational Typology and Multilingual NLP. Association for Computational Linguistics 52-62. https://aclanthology.org/2022.sigtyp-1.7\n\nMethods for the handling of partial cognates were introduced in a study by Wu and List (2023):\n\n> Wu, M.-S. and J.-M. List (2023): Annotating cognates in phylogenetic studies of South-East Asian languages. Language Dynamics and Change. https://doi.org/10.1163/22105832-bja10023\n\nMethods for the trimming of phonetic alignments were introduced in a study by Blum and List (2023):\n\n> Blum, F. and J.-M. List (2023): Trimming phonetic alignments improves the inference of sound correspondence patterns from multilingual wordlists. In: Proceedings of the 5th Workshop on Computational Typology and Multilingual NLP. Association for Computational Linguistics 52-64. https://aclanthology.org/2023.sigtyp-1.6.pdf\n\nMethods for the handling and creation of fuzzy / uncertain phonological reconstructions were introduced in a study by List et al. (forthcoming):\n\n> List, J.-M.; Hill, N. W.; Blum, F.; and Forkel, R. (forthcoming): A New Framework for the Representation and Computation of Uncertainty in Phonological Reconstruction. To appear in:  Proceedings of the 4th Workshop on Computational Approaches to Historical Language Change.\n\nWhen using this package in your research, please make sure to quote the respective papers, depending on the algorithms you use, and quote the software package as follows:\n\n> List, J.-M. and R. Forkel (2023): LingRex: Linguistic Reconstruction with LingPy. [Computer software, Version 1.4.0]. With contributions by Frederic Blum and Mei-Shin Wu. Leipzig: Max Planck Institute for Evolutionary Anthropology. https://pypi.org/project/lingrex\n\nSince this software package itself makes use of LingPy's alignment algorithms, you should also quote the LingPy package itself.\n\n> List, J.-M. and R. Forkel (2023): LingPy. A Python library for quantitative tasks in historical linguistics. Version 2.6.10. Max Planck Institute for Evolutionary Anthropology: Leipzig. https://lingpy.org\n\n## Installation\n\nInstall the package via `pip`:\n\n```shell\npip install lingrex\n```\n\n## Further Examples\n\nThe borrowing detection algorithm implemented in LingRex is introduced in the\npaper:\n\n> List, J.-M. and R. Forkel (2021): Automated identification of borrowings in multilingual wordlists [version 1; peer review: 3 approved, 1 approved with reservations]. Open Research Europe 1.79. 1-11. [DOI: 10.12688/openreseurope.13843.1](https://doi.org/10.12688/openreseurope.13843.1)\n\nIf you use this algorithm, please cite LingRex and this paper.\n\nIn addition to the paper in which the correspondence pattern inference algorithm was first introduced, LingRex also offers the code to compute the workflow described in the following paper:\n\n> Wu, M.-S., N. Schweikhard, T. Bodt, N. Hill, and J.-M. List (2020): Computer-Assisted Language Comparison. State of the Art. Journal of Open Humanities Data 6.2. 1-14. [DOI: 10.5334/johd.12](https://doi.org/10.5334/johd.12)\n\nTo test this workflow, please check the workflow code example in `tests/workflows/wu-2020`. \n\nIf you use this workflow in your work, please quote this paper as well.\n\nIn addition, our experiment (with T. Bodt) on predicting words with the help of sound correspondence patterns also made use of the LingRex package.\n\n> Bodt, T. and J.-M. List (2021): Reflex prediction. A case study of Western Kho-Bwa. Diachronica 0.0. 1-38. [DOI: 10.1075/dia.20009.bod](https://doi.org/10.1075/dia.20009.bod)\n\nTo test this workflow, please check the workflow code example in `tests/workflows/bodt-2019`.\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Linguistic reconstruction with LingPy",
    "version": "1.4.1",
    "project_urls": {
        "Homepage": "https://github.com/lingpy/lingrex"
    },
    "split_keywords": [
        "historical linguistics",
        "computational linguistics",
        "computer-assisted language comparison"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ab74eeb764a952079694948ce644d4997876da764f58108a5e4047b93b8a0a10",
                "md5": "0fd1008a9b4330121f0e953682a26ee0",
                "sha256": "960a436a850b2c80b676ad50a6dec7a5199e9be96204df4d5fbb6a270be7a112"
            },
            "downloads": -1,
            "filename": "lingrex-1.4.1-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "0fd1008a9b4330121f0e953682a26ee0",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": null,
            "size": 38473,
            "upload_time": "2023-10-17T05:58:04",
            "upload_time_iso_8601": "2023-10-17T05:58:04.595183Z",
            "url": "https://files.pythonhosted.org/packages/ab/74/eeb764a952079694948ce644d4997876da764f58108a5e4047b93b8a0a10/lingrex-1.4.1-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "dbb370a582546ff2fc1f4899aca677e3d6294dc88657508299ddf40911f1cf60",
                "md5": "91f81ba121912e9c63c2f4796315e426",
                "sha256": "4352ccb57ee5760336e16c948092007121a34a8189ebcef17c108f6f399ea892"
            },
            "downloads": -1,
            "filename": "lingrex-1.4.1.tar.gz",
            "has_sig": false,
            "md5_digest": "91f81ba121912e9c63c2f4796315e426",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 39895,
            "upload_time": "2023-10-17T05:58:06",
            "upload_time_iso_8601": "2023-10-17T05:58:06.951769Z",
            "url": "https://files.pythonhosted.org/packages/db/b3/70a582546ff2fc1f4899aca677e3d6294dc88657508299ddf40911f1cf60/lingrex-1.4.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-10-17 05:58:06",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "lingpy",
    "github_project": "lingrex",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "lingrex"
}
        
Elapsed time: 0.15140s