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.5.tar.gz (36.3 kB view details)

Uploaded Source

Built Distribution

eldpy-0.0.5-py3-none-any.whl (39.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for eldpy-0.0.5.tar.gz
Algorithm Hash digest
SHA256 463de7a2f1885ff3101699a0e5ad6fdcf8e18172bb637bd0b2011dd5c625c61a
MD5 082219fb44699c798b157eca6aa4ff34
BLAKE2b-256 d15ecd2e70856cd48f8514cf4fa655bb5557b8f75f66e6fff0d0b783ad6f01c4

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for eldpy-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 167b95ecb0b1b885b62cae42d0031acd38992716c5427f47e4b64d3bacd2d987
MD5 8b4cdbb9a9c11acc7a19402c54b8d49b
BLAKE2b-256 56c83e678c45ccca5bbbb3cc0c9223576fe54b2d12d1d965f3985780cc65c347

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