lingrex


Namelingrex JSON
Version 1.4.2 PyPI version JSON
download
home_pagehttps://pypi.org/project/lingrex
SummaryWeb-Based Tool for Computer-Assisted Language Comparison
upload_time2024-08-05 19:44:57
maintainerNone
docs_urlNone
authorJohann-Mattis List
requires_python>=3.8
licenseMIT
keywords linguistics computational linguistics linguistic reconstruction cognate detection
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. (2023):

> List, J.-M.; Hill, N. W.; Blum, F.; and Forkel, R. (2023): A New Framework for the Representation and Computation of Uncertainty in Phonological Reconstruction. Proceedings of the 4th Workshop on Computational Approaches to Historical Language Change. 22-32. https://aclanthology.org/2023.lchange-1.3

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://pypi.org/project/lingrex",
    "name": "lingrex",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": "linguistics, computational linguistics, linguistic reconstruction, cognate detection",
    "author": "Johann-Mattis List",
    "author_email": "mattis.list@uni-passau.de",
    "download_url": "https://files.pythonhosted.org/packages/c2/b3/72c2e56871a7feaea547520a3c79827e8c7eca57552d62f578a1b2b9b335/lingrex-1.4.2.tar.gz",
    "platform": "any",
    "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. (2023):\n\n> List, J.-M.; Hill, N. W.; Blum, F.; and Forkel, R. (2023): A New Framework for the Representation and Computation of Uncertainty in Phonological Reconstruction. Proceedings of the 4th Workshop on Computational Approaches to Historical Language Change. 22-32. https://aclanthology.org/2023.lchange-1.3\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": "MIT",
    "summary": "Web-Based Tool for Computer-Assisted Language Comparison",
    "version": "1.4.2",
    "project_urls": {
        "Homepage": "https://pypi.org/project/lingrex"
    },
    "split_keywords": [
        "linguistics",
        " computational linguistics",
        " linguistic reconstruction",
        " cognate detection"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d0d2ec2c9b3e08a85ab5428eb7a9d199372d9a8218ed2a75ee17af318e4dbb5e",
                "md5": "78bc923afe23bbcd8a46895ace457c03",
                "sha256": "894d5ee59fef43ca615c318c787d36b4ab167264588a45b4a56935324bda28e6"
            },
            "downloads": -1,
            "filename": "lingrex-1.4.2-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "78bc923afe23bbcd8a46895ace457c03",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": ">=3.8",
            "size": 38760,
            "upload_time": "2024-08-05T19:44:55",
            "upload_time_iso_8601": "2024-08-05T19:44:55.541943Z",
            "url": "https://files.pythonhosted.org/packages/d0/d2/ec2c9b3e08a85ab5428eb7a9d199372d9a8218ed2a75ee17af318e4dbb5e/lingrex-1.4.2-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c2b372c2e56871a7feaea547520a3c79827e8c7eca57552d62f578a1b2b9b335",
                "md5": "115007d218c41cabca8fa516ef99ffcb",
                "sha256": "92d531b1677bac0fa4c69915f0be25fe8afe4350f157512557068dc80d674fe8"
            },
            "downloads": -1,
            "filename": "lingrex-1.4.2.tar.gz",
            "has_sig": false,
            "md5_digest": "115007d218c41cabca8fa516ef99ffcb",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 40628,
            "upload_time": "2024-08-05T19:44:57",
            "upload_time_iso_8601": "2024-08-05T19:44:57.181616Z",
            "url": "https://files.pythonhosted.org/packages/c2/b3/72c2e56871a7feaea547520a3c79827e8c7eca57552d62f578a1b2b9b335/lingrex-1.4.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-08-05 19:44:57",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "lingrex"
}
        
Elapsed time: 1.71948s