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
File details
Details for the file eldpy-0.0.8.tar.gz
.
File metadata
- Download URL: eldpy-0.0.8.tar.gz
- Upload date:
- Size: 36.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.26.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f6a3de48d4c57e29a458681886b04db12b48cb062e4a9928443c61b6040ac1cd |
|
MD5 | 887e28602eb0ce963c93b8f21240bb30 |
|
BLAKE2b-256 | e75417e3519fa44a1f347b2d0c03f1e0b83d2ffdd01bd926bcf8487e3bd9781c |
File details
Details for the file eldpy-0.0.8-py3-none-any.whl
.
File metadata
- Download URL: eldpy-0.0.8-py3-none-any.whl
- Upload date:
- Size: 40.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.26.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b3b29144d74cb3bbb19a29c573f715bff12af4b96089c7746944f9e84a440f3f |
|
MD5 | fe2297551c9490d6d39a955d096d2a61 |
|
BLAKE2b-256 | bcb3fbef00aae4dd3141d2902e83fd5594725bb5721e6844020011a04bad7f47 |