Skip to content

BergelsonLab/aclewsample

Repository files navigation

aclewsample

dependencies

usage

sample.py

sample entries from the ACLEW spreadsheet

$ python sample.py aclew_spreadsheet.csv output.csv

or as a function:

import sample

df = sample("data/ACLEW_corpora.csv", "output/aclew_sampled.csv")

splice.py

splice the selected audio files

$ python splice.py input_dir output_dir

input_dir is a folder with all the audio files

as a function:

import splice

splice(input_dir="data/audio_input", output_dir="output/spliced_audio_out")

templgen.py

choose a random set of 5x2min regions in a daylong audio file and generate ELAN templates.

$ python templgen.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published