A Python package to download and analyze data from endangered language archives
Project description
LangSci
This package provides tools for interfacing with endangered language archives.
For the time being, only the download functionality is robust enough for general use.
The package contains script for the analysis of ELAN files. These analyses are quantitative (duration, tiers, tokens) as well as qualitative (vernacular language, tranlations, glosses, semantic domains).
The analyses are cached in JSON format and can be exported to RDF.
Sample usage:
- download all ELAN files from the AILLA archives:
from eldpy import download
download.bulk_download(archive='AILLA', filetype=1, username='janedoe', password='mypassword')
- analyze all downloaded ELAN files
from eldpy.bulk import *
bulk_populate(cache=False)
- cache for future usage: as above and add
bulk_cache()
- read cached information
from eldpy.bulk import *
bulk_populate(cache=True)
- compute tokens and durations
from eldpy.bulk import *
bulk_populate()
bulk_statistics()
- analyze ELAN tier hierarchies
from eldpy.bulk import *
bulk_populate()
bulk_fingerprints()
-export as rdf
from eldpy.bulk import *
bulk_populate()
bulk_rdf()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file eldpy-0.0.12.tar.gz.
File metadata
- Download URL: eldpy-0.0.12.tar.gz
- Upload date:
- Size: 40.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.26.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f0895fde1c355bd22a6cd014922bd2d4c4c02ec9792a04874b388e75c1da3c35
|
|
| MD5 |
92920e10aaa0dfaf44f84be1ec44cb90
|
|
| BLAKE2b-256 |
f7fc1d4f5025c1a2187783f9a54717a74c9e1edaf71ea89b330798de751f8886
|
File details
Details for the file eldpy-0.0.12-py3-none-any.whl.
File metadata
- Download URL: eldpy-0.0.12-py3-none-any.whl
- Upload date:
- Size: 41.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.26.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
89c38bf8d7f3732e96b13156948c19e8e151243dd3ae4b3d206823c8b4ed4403
|
|
| MD5 |
4fa21c5ac8e472d91ca0a6e3ba55cb19
|
|
| BLAKE2b-256 |
5fcda0d6187c20d87f4284ab548f38bfcd19759acac5ee6b7741f7a666a0eff4
|