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

Uploaded Source

Built Distribution

eldpy-0.0.6-py3-none-any.whl (39.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for eldpy-0.0.6.tar.gz
Algorithm Hash digest
SHA256 bb7d61e1659920dab68c0821134c28a57de22f95a20d8c6ea92f53072fbcdb2c
MD5 08fca384e5d7aa22464c14b7a33a515a
BLAKE2b-256 4b447c0b48445c2ade7014c14670ad2103190298c5081d199766dcc12245cbac

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for eldpy-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 741bd2f07ff2b2205e38a36f362cedeaabffcc7a8c35a636956db376e713fa79
MD5 72abca6da57c5176613eb336f525d2b2
BLAKE2b-256 fd4e6f9dda4c9238193801a2dad0110b72350744310c93daaafb8eaa252f64c6

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