home edit page issue tracker

This page pertains to UD version 2.

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

Back to French ParisStories · Back to index

Repo: https://github.com/UniversalDependencies/UD_French-ParisStories

Cross-posting from the UniDive WG1 T1.5 (spoken language guidelines) metadata harmonisation review. We compared UD_French-ParisStories’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)

No document_id exists, but sent_id already encodes it: e.g. ParisStories_2020_maisonAbondonnee_1 is document ParisStories_2020_maisonAbondonnee, sentence 1. 86 distinct documents across 2776 sentences. sound_url is currently repeated per sentence (present on 2749/2776 sentences - 27 sentences in one document lack it).

Field Suggestion
derive # document_id from the sent_id prefix (everything before the trailing _<number>)
sound_url move to document level, set once per document_id

2. Speaker-level (naming conventions)

Field Suggestion
speaker rename to speaker_id

3. Sentence-level (naming conventions)

Field Suggestion
macrosyntax rename to text_macrosyntax
tags corpus-specific (only 1 occurrence, value TODO) - please confirm what this represents

4. Token-level (naming conventions)

Field Suggestion
AlignBegin rename to WordAlignmentBegin
AlignEnd rename to WordAlignmentEnd

Implementation notes


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.