Skip to content

Tools and scripts for working with ELAN

License

Notifications You must be signed in to change notification settings

CoEDL/elan-helpers

Repository files navigation

Elan Helpers

Tools and scripts for working with ELAN. See the README file in each script folder for usage instuctions.

Elan Character Spacer

This script will space-separate characters in all words in specified Elan tiers.

Elan to JSON

The script reads an Elan file (or a directory including Elan files) and exports a JSON file with the annotations on a selected tier. You can choose which tier by passing a tier name, tier type, or a tier order number as an argument to the script.

Elan Splitter

The script processes a directory of audio annotated in Elan, and outputs audio clips and matching-named text files containing the respective annotations. The original files are not altered. Audio clips are determined by the start and end times of annotations on the first tier. You can choose to use another tier by passing a tier name or a different order number (not tier type) as an argument to the script.

JSON to ELAN

This script will process a folder of JSON files containing annotations, and build ELAN files for each.

Python Tier Selector

This script doesn't do much on its own, but can be used as a basis for your own processing script. It looks in a folder the user specifies, and compiles a list of all the tiers in the Elan files in that folder. The script offers the user an option to select one or more tiers from the list. From this point you could extend the script to extract all the annotations on the selected tiers, or perhaps write a new Elan file that combines the selected tiers.

Make ELANs from text

This script can be used to make ELAN files that are based on a folder of text annotations and WAV audio recordings.

Make ELANs from TIMIT

This script can be used to make ELAN files from the TIMIT dataset. Handy for testing Elpis.

Make ELANs from WAVs

Processing scripts to generate Elan files for a nested folders of WAVs, using the WAV file names as the annotation values. Perfect for converting a directory of audio files to Elpis-ready format.

About

Tools and scripts for working with ELAN

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages