Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

eldpy-0.0.10.tar.gz (38.3 kB view details)

Uploaded Source

Built Distribution

eldpy-0.0.10-py3-none-any.whl (40.3 kB view details)

Uploaded Python 3

File details

Details for the file eldpy-0.0.10.tar.gz.

File metadata

  • Download URL: eldpy-0.0.10.tar.gz
  • Upload date:
  • Size: 38.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.26.0

File hashes

Hashes for eldpy-0.0.10.tar.gz
Algorithm Hash digest
SHA256 e07a1f20ba1d160b1363ba91babe69b2d9498306966a3d49aedce0a771bc9b32
MD5 e10bdf5acba6bef666e5140c0b9436db
BLAKE2b-256 9614bb3c6a490c21ce9d1ed9e08c30fb9ffa84ac684a75814e4605161540ef3f

See more details on using hashes here.

File details

Details for the file eldpy-0.0.10-py3-none-any.whl.

File metadata

  • Download URL: eldpy-0.0.10-py3-none-any.whl
  • Upload date:
  • Size: 40.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.26.0

File hashes

Hashes for eldpy-0.0.10-py3-none-any.whl
Algorithm Hash digest
SHA256 cf3d4db177ac21d3942035d4efb5ffd8c16a444d2beeef2755268183a339a233
MD5 9a01d742eeba4403dbea6ebaedb27905
BLAKE2b-256 fe828818cf9bc5fd92dbf0b94f4052f1cdf4aaf85dee6e4483c38046b1649f44

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page