Skip to content

Latest commit

 

History

History
23 lines (20 loc) · 1.31 KB

README.md

File metadata and controls

23 lines (20 loc) · 1.31 KB

lingtypology

This library is a Python3 tool for linguistic interactive mapping. It is based on R-package created by Agrizolamz. It uses the same phylosophy and provides similar functionality.

Glottolog

Lingtypology relies on data from the Glottolog database. With each new version of lingtypology Glottolog data is updated. Now it is using Glottolog 3.4-7. You can update data from Glottolog by using lingtypology.update_glottolog() function. However, it is buggy and not recommended yet.

Installation

Soon this package will be available in PyPI. For now you can install it following these steps:

  1. Clone the repository:
    git clone https://github.com/OneAdder/lingtypology
  2. Enter the directory:
    cd lingtypology
  3. Install the package:
    Locally: pip3 install . --user
    Globally (not recommended): sudo pip3 install .

Usage

Lingtypology package contains LingMap class that allows to draw interactive maps, glottolog library that allows to interact with Glottolog data and db_apis that allows to interact with different other linguistic databases.
For more informations consult the tutorial or docstrings from the code.