Metadata-Version: 2.1
Name: loanpy
Version: 3.0.3
Summary: a linguistic toolkit for detecting old loanwords by predicting, evaluating and applying changes in horizontal and vertical lexical transfers
Home-page: https://github.com/martino-vic/loanpy
Download-URL: https://github.com/LoanpyDataHub/loanpy/archive/3.0.0.tar.gz
Author: Viktor Martinović
Author-email: viktor_martinovic@eva.mpg.de
License: MIT
Project-URL: documentation, https://loanpy.readthedocs.io/en/latest/home.html
Project-URL: citation, https://zenodo.org/record/7893906
Project-URL: continuous integration, https://dl.circleci.com/status-badge/redirect/gh/LoanpyDataHub/loanpy/tree/main
Project-URL: test coverage, https://coveralls.io/github/LoanpyDataHub/loanpy
Project-URL: database, https://github.com/LoanpyDataHub
Keywords: linguistics,loanwords,language-contact,sound-change-applier
Platform: Windows
Platform: macOS
Platform: Linux
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Science/Research
Classifier: Topic :: Scientific/Engineering
Classifier: Topic :: Text Processing :: Linguistic
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Operating System :: MacOS
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Requires-Python: >=3.7
Provides-Extra: test
Provides-Extra: dev
License-File: LICENSE

.. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.7893906.svg
   :target: https://doi.org/10.5281/zenodo.7893906
   :alt: the DOI

.. image:: https://dl.circleci.com/status-badge/img/gh/LoanpyDataHub/loanpy/tree/main.svg?style=svg
   :target: https://dl.circleci.com/status-badge/redirect/gh/LoanpyDataHub/loanpy/tree/main
   :alt: continuous integration status

.. image:: https://coveralls.io/repos/github/LoanpyDataHub/loanpy/badge.svg
   :target: https://coveralls.io/github/LoanpyDataHub/loanpy
   :alt: code coverage status

.. image:: https://readthedocs.org/projects/loanpy/badge/?version=latest
   :target: https://loanpy.readthedocs.io/en/latest/?badge=latest
   :alt: Documentation Status

.. image:: https://img.shields.io/pypi/v/loanpy.svg
  :target: https://pypi.org/project/loanpy/
  :alt: PyPI Latest Version

Intro
-----

LoanPy is a linguistic toolkit developed during the course of my PhD thesis
at the University of Vienna, providing solutions for various tasks in
historical and contact linguistics, such as:

- Mining correspondence patterns from etymological data on the level of
  phonology and phonotactics
- Predicting loanword adaptation (lateral/horizontal transfers) based on
  heuristics and etymological data
- Historical reconstruction of words (vertical transfers) based on
  etymological data
- Evaluating the quality of the predictive models
- Searching for potential (old) loanwords between two languages

This toolkit has been designed with ease of use and compatibility in mind,
offering a standalone, easy-to-setup, and cross-platform solution that works
with Python 3.7 or higher.

Installation
------------

Latest stable version:

::

    $ pip install loanpy

Development version:

::

    $ pip install git+https://github.com/martino-vic/loanpy.git@main

Documentation
-------------

- `Read the docs <https://loanpy.readthedocs.io/en/latest/home.html>`_

Citation
--------

If you use loanpy 3 in your research or project, please cite the following:

::

    @misc{martinovic2023,
      author       = {Viktor Martinovi{\'c}},
      title        = {LoanpyDataHub/loanpy: Third stable release},
      month        = may,
      year         = 2023,
      publisher    = {Zenodo},
      version      = {3.0.0},
      doi          = {10.5281/zenodo.7893906},
      url          = {https://doi.org/10.5281/zenodo.7893906}
    }

License
-------

LoanPy is released under the MIT License.

Compatible Input Data
---------------------

LoanPy supports the following datasets:

- `streitberggothic <https://github.com/LoanpyDataHub/streitberggothic>`_,
- `koeblergothic <https://github.com/LoanpyDataHub/koeblergothic>`_
- `gerstnerhungarian <https://github.com/LoanpyDataHub/gerstnerhungarian>`_
- `ronataswestoldturkic <https://github.com/LoanpyDataHub/ronataswestoldturkic>`_

Main Changes Compared to Version 2
----------------------------------

- Standalone: No external dependencies needed.
- Easy setup: Just download or clone the repository and start using it.
- Cross-platform: Works on any platform that supports Python.
- Python Compatibility: Works with Python 3.7 or higher.
- CLDF Integration: Fully compatible with `CLDF data standards <https://cldf.clld.org/>`_.
