LingTypology: Documentation¶
Lingtypology is a Python3 tool for linguistic interactive mapping and online linguistic databases API. It is inspired by R-package created by Agrizolamz. It uses the same phylosophy and provides similar functionality.
Installation¶
The package is available in PyPI. Therefore, you can install it by running:
Locally:
pip3 install lingtypology --user
Globally (not recommended):
sudo pip3 install lingtypology
Usage¶
Lingtypology package contains LingMap
class that allows to draw
interactive maps, glottolog
library that allows to interact with
Glottolog data and datasets
that allows to interact with different
online linguistic databases. See more info below.
Citation¶
It would be most appreciated if you cite the package if you are using it. The suggested way is:
@misc{MichaelVoronov2669068,
author = {Michael Voronov},
title = {{lingtypology: a Python tool for linguistic typology}},
month = june,
year = 2019,
doi = {10.5281/zenodo.2669068},
url = {https://doi.org/10.5281/zenodo.2669068}
}
Contents¶
Tutorial¶
- Linguistic Interactive maps
- 1. Maps
- 1.1. Simplest example
- 1.2. Save, Render or Save as Image
- 1.3. Features
- 1.4. Customizing the map
- 1.5. Popups
- 1.6. Accessing Glottolog
- 1.7. Customizing features and controls
- 1.8. Stroke features
- 1.9. Heatmaps
- 1.10. Title
- 1.11. Lines
- 1.12. Customizing markers
- 1.13. Start Location/Zoom shortcuts
- 1.14. Color gradients
- 1.15. Minicharts
- 1.16. Overlapping Features
- 1.17. Using Existing Folium Map
- 1.18. Merging Maps
- 1.19. Using Different Tiles
- 1.20. Using Elevation Data
- 2. Some real examples
- 1. Maps
- Databases API