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

Uploaded Source

Built Distribution

eldpy-0.0.9-py3-none-any.whl (40.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for eldpy-0.0.9.tar.gz
Algorithm Hash digest
SHA256 e8e09955e3a93f2c0d1c13093243c8774968152efdc51aa133168203638ea0f9
MD5 dbe51f6cc68c42ffb688e5430516ec45
BLAKE2b-256 1b0d5c2b7c44e35dad53481699dfdaef6e31fcdb6a2eaea28f3daf5277a62b01

See more details on using hashes here.

File details

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

File metadata

  • Download URL: eldpy-0.0.9-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

Hashes for eldpy-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 86b6e06f74c7708f71e107dae740949abb3c641888ebdda3080e6a6f1cfeaadb
MD5 790d4579f9bb175c01480448ee57c714
BLAKE2b-256 8bc1f50315fb56fb5d5e191a1cb5afa5543579ef554ae8eae821086b8848464b

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