home edit page issue tracker

This page pertains to UD version 2.

Metadata harmonisation: align spoken-data fields with UniDive naming conventions

Back to Beja Autogramm · Back to index

Repo: https://github.com/UniversalDependencies/UD_Beja-Autogramm

Cross-posting from the UniDive WG1 T1.5 (spoken language guidelines) metadata harmonisation review. We compared UD_Beja-Autogramm’s current CoNLL-U metadata against the proposed naming conventions (see also the full treebank status table). This is a suggestion for maintainers to review - feel free to push back on anything that doesn’t fit the corpus. The comparison was carried out semi-automatically with the help of Claude (Anthropic); errors or misunderstandings are possible, so please double-check anything unclear.

1. Document-level (naming conventions)

Field Suggestion
no document_id exists at all (0 occurrences across 763 sentences) - but the 18 distinct sound_url values (one per recording, e.g. BEJ_MV_NARR_01_SHELTER.WAV) already identify document boundaries; could # document_id be derived from the recording basename and set once per document?
sound_url currently repeated on every sentence - move to document level once document_id exists

2. Sentence-level (naming conventions)

Field Suggestion
text_en rename to text_eng
phonetic_text rename to text_phonetic
sent_timecode split into sound_alignment_begin, sound_alignment_end, and duration
tags corpus-specific (sentence-level), mostly ?/TO CHECK/TODO placeholder values - please confirm what this represents

3. Token-level (naming conventions)

Field Suggestion
AlignBegin rename to WordAlignmentBegin
AlignEnd rename to WordAlignmentEnd

Implementation notes

Quick search & replace

Needs a small script

Needs manual input from maintainers


This issue was prepared as part of the UniDive WG1 T1.5 spoken language guidelines effort. Happy to help implement these changes ourselves if that’s easier than doing it on your end - just let us know.