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

Uploaded Source

Built Distribution

eldpy-0.0.11-py3-none-any.whl (41.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for eldpy-0.0.11.tar.gz
Algorithm Hash digest
SHA256 edd74fa007ac55d603ad03bd49b93ef83df9d7bb6b5ebe06b831b911276e894c
MD5 42cc1472bcd0c20638d211e984ce64a7
BLAKE2b-256 29da2d03bfdd671c5f436af23fee6114d49d3eac963d342bf6563b3a93abfc40

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for eldpy-0.0.11-py3-none-any.whl
Algorithm Hash digest
SHA256 4b2c6945d9dca81325160cd4d740b31785065e3e8a4490d5acd92d3a25c42216
MD5 54aa6017d79ba54ab2848896201f6826
BLAKE2b-256 b2a594c8551fb7bfb3e5d8bf92412d5e15f8ed43f0bfe0f04fcce42e534ed5b3

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