Python library for quantitative tasks in historical linguistics
LingPy: A Python Library for Automatic Tasks in Historical Linguistics
This repository contains the python package
lingpy which can be used for various task in computational historical linguistics.
Authors (Version 2.6.7): Johann-Mattis List and Robert Forkel
Collaborators: Christoph Rzymski, Simon J. Greenhill, Steven Moran, Peter Bouda, Johannes Dellert, Taraka Rama, Tiago Tresoldi, Gereon Kaiping, and Frank Nagel.
LingPy is a Python Library for Historical Linguistics. It is being developed for Python 2.7 and Python 3.x using a single codebase.
- All source code is available at: https://github.com/lingpy/lingpy.
- Documentation can be found at: http://lingpy.org.
- For a list of papers in which LingPy was applied, see here.
For our latest stable version, you can simply use pip or easy_install for installation:
$ pip install lingpy
$ pip install lingpy
Depending on which easy_install or pip version you use, either the Python2 or the Python3 version of LingPy will be installed.
If you want to install LingPy the current GitHub version on your system, open a terminal and type in the following:
$ git clone https://github.com/lingpy/lingpy/ $ cd lingpy $ python setup.py install
If the last command above returns you some error regarding user permissions (usually "Errno 13"), you can install LingPy in your home Python setup:
$ python setup.py install --user
In order to use the library, start an interactive python session and import LingPy as follows:
>>> from lingpy import *
To install LingPy to hack on it, fork the repository on GitHub, open a terminal and type:
$ git clone https://github.com/<your-github-user>/lingpy/ $ cd lingpy $ python setup.py develop
This will install LingPy in "development mode", i.e. you will be able edit the sources in the cloned repository and import the altered code just as the regular python package.
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size lingpy-2.6.7-py3.9.egg (988.1 kB)||File type Egg||Python version 2.6.7||Upload date||Hashes View|
|Filename, size lingpy-2.6.7.tar.gz (538.2 kB)||File type Source||Python version None||Upload date||Hashes View|