- Migrate 236+ class files from custodian_types to has_or_had_custodian_type - Archive deprecated slots: custodian_type, custodian_types, custodian_type_broader/narrower/related - Update main schema and manifest imports - Fix Custodian.yaml class to use new slot - Fix annotation format (list→scalar) in has_or_had_custodian_type.yaml Rules applied: - Rule 39: RiC-O naming convention (hasOrHad pattern) - Rule 43: Slot nouns must be singular (multivalued:true for cardinality) - Rule 38: Slot centralization with semantic URI
104 lines
3 KiB
YAML
104 lines
3 KiB
YAML
id: https://nde.nl/ontology/hc/class/DiarizationSegment
|
|
name: diarization_segment_class
|
|
title: Diarization Segment Class
|
|
prefixes:
|
|
linkml: https://w3id.org/linkml/
|
|
hc: https://nde.nl/ontology/hc/
|
|
schema: http://schema.org/
|
|
ma: http://www.w3.org/ns/ma-ont#
|
|
default_prefix: hc
|
|
default_range: string
|
|
imports:
|
|
- linkml:types
|
|
- ../metadata
|
|
- ./SpecificityAnnotation
|
|
- ./TemplateSpecificityScores
|
|
- ../slots/specificity_annotation
|
|
- ../slots/template_specificity
|
|
- ../slots/diarization_confidence
|
|
- ../slots/diarization_end_seconds
|
|
- ../slots/diarization_speaker_id
|
|
- ../slots/diarization_speaker_label
|
|
- ../slots/diarization_start_seconds
|
|
- ../slots/is_overlapping
|
|
|
|
classes:
|
|
DiarizationSegment:
|
|
class_uri: hc:DiarizationSegment
|
|
description: |
|
|
A diarization segment identifying speaker and time boundaries.
|
|
|
|
Focused on "who spoke when" rather than transcript content.
|
|
slots:
|
|
- diarization_confidence
|
|
- diarization_end_seconds
|
|
- diarization_speaker_id
|
|
- diarization_speaker_label
|
|
- diarization_start_seconds
|
|
- is_overlapping
|
|
- specificity_annotation
|
|
- template_specificity
|
|
slot_usage:
|
|
diarization_start_seconds:
|
|
slot_uri: ma:hasStartTime
|
|
description: Start time in seconds
|
|
range: float
|
|
required: true
|
|
minimum_value: 0.0
|
|
diarization_end_seconds:
|
|
slot_uri: ma:hasEndTime
|
|
description: End time in seconds
|
|
range: float
|
|
required: true
|
|
minimum_value: 0.0
|
|
diarization_speaker_id:
|
|
slot_uri: hc:speakerId
|
|
description: Anonymous speaker identifier (spk_001, spk_002, etc.)
|
|
range: string
|
|
required: true
|
|
diarization_speaker_label:
|
|
slot_uri: schema:name
|
|
description: Optional identified name or role
|
|
range: string
|
|
required: false
|
|
diarization_confidence:
|
|
slot_uri: hc:confidence
|
|
description: Diarization confidence (0.0-1.0)
|
|
range: float
|
|
required: false
|
|
minimum_value: 0.0
|
|
maximum_value: 1.0
|
|
is_overlapping:
|
|
slot_uri: hc:isOverlapping
|
|
description: |
|
|
Whether this segment overlaps with another speaker.
|
|
|
|
Overlapping speech occurs when multiple people speak simultaneously.
|
|
range: boolean
|
|
required: false
|
|
specificity_annotation:
|
|
range: SpecificityAnnotation
|
|
inlined: true
|
|
template_specificity:
|
|
range: TemplateSpecificityScores
|
|
inlined: true
|
|
|
|
slots:
|
|
diarization_start_seconds:
|
|
description: Diarization segment start
|
|
range: float
|
|
diarization_end_seconds:
|
|
description: Diarization segment end
|
|
range: float
|
|
diarization_speaker_id:
|
|
description: Speaker ID in diarization
|
|
range: string
|
|
diarization_speaker_label:
|
|
description: Speaker label in diarization
|
|
range: string
|
|
diarization_confidence:
|
|
description: Diarization confidence
|
|
range: float
|
|
is_overlapping:
|
|
description: Whether segment has overlapping speech
|
|
range: boolean
|