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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: eldpy-0.0.7.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.7.tar.gz
Algorithm Hash digest
SHA256 4b99cbca39c6a684b3ff0a474c70592c420685fa5f17c357528b18d0add9ec8a
MD5 2cffde80671c5fffc0f622e5998e5ddf
BLAKE2b-256 93ae9a84a2b869af6d4a0b049895dc91a9d0ff1ccf31712e5763ac4632f9d2bb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: eldpy-0.0.7-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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 3c9db16b90fb29b846d3313d92a47edacf3181ef437be953fc641250bbe34a25
MD5 f100834575b6c267aaf0366d4bcf5497
BLAKE2b-256 4b67c7201150c2887c4b101af33463b2bfa9a8d7f0abaa5a55f9be24dbba1ec2

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