You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, if baby language tags (:v:vocalizations,:v:laughter, :v:airstream, :v:crying) appear on adult language tiers, it is not flagged as an error.
Proposed implementation in Python:
def _find_baby_lang_adult(belan):
for p in belan.persons:
if 'Baby' not in p.name:
if 'Sibling' not in p.name:
for u in p.utterances:
for c in u.chunks:
if c.language.startswith(':v:'):
errors.append(f"{belan.path} : {c} tagged as {c.language} found on {p.name} (Language) tier (should be reserved for Baby (Language) only)")
The text was updated successfully, but these errors were encountered:
According to BELA-con, :v:laughter should appear on Baby (Language) tiers but not on Baby (Utterance) tiers. It's the opposite for adult tiers (i.e., can appear on Adult (Utterance) but not Adult (Language)).
Currently, if baby language tags (
:v:vocalizations
,:v:laughter
,:v:airstream
,:v:crying
) appear on adult language tiers, it is not flagged as an error.Proposed implementation in Python:
The text was updated successfully, but these errors were encountered: