loanpy

LoanPy is a linguistic toolkit for rule-based prediction and evaluation of loanword adaptation and historical reconstructions and can be used to search for old loanwords

https://github.com/loandb/loanpy

Science Score: 67.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 6 DOI reference(s) in README
  • Academic publication links
    Links to: zenodo.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (16.3%) to scientific vocabulary

Keywords

language-contact linguistics loanwords sound-change-applier
Last synced: 10 months ago · JSON representation ·

Repository

LoanPy is a linguistic toolkit for rule-based prediction and evaluation of loanword adaptation and historical reconstructions and can be used to search for old loanwords

Basic Info
Statistics
  • Stars: 16
  • Watchers: 4
  • Forks: 1
  • Open Issues: 9
  • Releases: 10
Topics
language-contact linguistics loanwords sound-change-applier
Created about 6 years ago · Last pushed over 2 years ago
Metadata Files
Readme Contributing License Code of conduct Citation Security

README.rst

.. 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 `_

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 `_,
- `koeblergothic `_
- `gerstnerhungarian `_
- `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 `_.

Owner

  • Name: LoanpyDataHub
  • Login: LoanDB
  • Kind: organization
  • Location: Germany

Explore loanwords with LoanpyDataHub: a collection of loanpy-compatible datasets. Unlock linguistic insights across languages. (c) avatar: Bianca Van Dijk

Citation (CITATION.cff)

# This CITATION.cff file was generated with cffinit.
# Visit https://bit.ly/cffinit to generate yours today!

cff-version: 1.2.0
title: LoanPy
message: >-
  If you use this software, please cite it using the
  metadata from this file.
type: software
authors:
  - given-names: Viktor
    family-names: Martinović
    email: a1301282@unet.univie.ac.at
    affiliation: University of Vienna
    orcid: 'https://orcid.org/0000-0003-2095-6192'
identifiers:
  - type: doi
    value: 10.5281/zenodo.7893906
repository-code: 'https://github.com/LoanpyDataHub/loanpy'
url: 'https://loanpy.readthedocs.io/en/latest/home.html'
abstract: >-
  LoanPy is a linguistic toolkit for rule-based prediction
  and evaluation of loanword adaptation and historical
  reconstructions and can be used to search for old
  loanwords 
keywords:
  - linguistics
  - loanwords
  - language-contact
  - sound-change-applier
license: MIT
commit: 28f568a6b6142f7bb82ae6959ee3cf736c831c67
version: 3.0.0
date-released: '2023-05-03'

GitHub Events

Total
  • Watch event: 2
Last Year
  • Watch event: 2

Dependencies

requirements.txt pypi
  • Pillow ==9.1.1
  • PyYAML ==6.0
  • appdirs ==1.4.4
  • attrs ==21.4.0
  • clldutils ==3.12.0
  • colorlog ==6.6.0
  • csvw ==2.0.0
  • cycler ==0.11.0
  • editdistance ==0.6.0
  • fonttools ==4.33.3
  • gensim ==4.2.0
  • isodate ==0.6.1
  • kiwisolver ==1.4.2
  • latexcodec ==2.0.1
  • lingpy ==2.6.9
  • matplotlib ==3.5.2
  • munkres ==1.1.4
  • networkx ==2.8.3
  • numpy ==1.22.4
  • packaging ==21.3
  • pandas ==1.4.2
  • panphon ==0.20.0
  • pybtex ==0.24.0
  • pycldf ==1.26.1
  • pyparsing ==3.0.9
  • pytest ==7.1.2
  • python-dateutil ==2.8.2
  • pytz ==2022.1
  • regex ==2022.6.2
  • rfc3986 ==1.5.0
  • scipy ==1.8.1
  • six ==1.16.0
  • smart-open ==6.0.0
  • tabulate ==0.8.9
  • tqdm ==4.64.0
  • unicodecsv ==0.14.1
  • uritemplate ==4.1.1
setup.py pypi
  • Pillow ==9.1.1
  • PyYAML ==6.0
  • appdirs ==1.4.4
  • attrs ==21.4.0
  • clldutils ==3.12.0
  • colorlog ==6.6.0
  • csvw ==2.0.0
  • cycler ==0.11.0
  • editdistance ==0.6.0
  • fonttools ==4.33.3
  • gensim ==4.2.0
  • ipatok ==0.4.1
  • isodate ==0.6.1
  • kiwisolver ==1.4.2
  • latexcodec ==2.0.1
  • lingpy ==2.6.9
  • matplotlib ==3.5.2
  • munkres ==1.1.4
  • networkx ==2.8.3
  • numpy ==1.22.4
  • packaging ==21.3
  • pandas ==1.4.2
  • panphon ==0.20.0
  • pybtex ==0.24.0
  • pycldf ==1.26.1
  • pyparsing ==3.0.9
  • python-dateutil ==2.8.2
  • pytz ==2022.1
  • regex ==2022.6.2
  • rfc3986 ==1.5.0
  • scipy ==1.8.1
  • six ==1.16.0
  • smart-open ==6.0.0
  • tabulate ==0.8.9
  • tqdm ==4.64.0
  • unicodecsv ==0.14.1
  • uritemplate ==4.1.1