Skip to content

This library is a Python3 tool for linguistic interactive mapping. It is based on R-package (https://github.com/ropensci/lingtypology) created by https://github.com/agricolamz. It uses the same phylosophy and provides similar functionality.

License

Notifications You must be signed in to change notification settings

xrotwang/lingtypology

 
 

Repository files navigation

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.

About

This library is a Python3 tool for linguistic interactive mapping. It is based on R-package (https://github.com/ropensci/lingtypology) created by https://github.com/agricolamz. It uses the same phylosophy and provides similar functionality.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 52.6%
  • Jupyter Notebook 46.2%
  • Python 1.2%