Skip to main content

Speech Segment Ontology

Speech and Audio AI Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 03 November 2026
Audio Overview
SEMANTIC LIBRARY — SPEECH SEGMENT ONTOLOGY
FLOW ALGEBRA COMPANION FORMALISATION
Version: 1.0 | 03 November 2026 | Language: en-GB
Authors credited on source: Mark Anthony Higgins — Sky Recursive AI
Source: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/speech-and-audio-ai-entities/speech-segment-ontology.html
Source publication: 11 October 2025 | Revised: 01 August 2026
Status: Independently constructed companion formalisation; the page's full embedded rules were not accessible in the retrieved HTML. This document is not a verbatim transcription.

1. PURPOSE
Represent a speech segment as a time-bounded, provenance-linked portion of a speech signal, with explicit boundaries, signal samples, optional linguistic annotations, acoustic features, uncertainty and relationships to neighbouring segments.

2. ENTITY AND STATE MODEL
SpeechSegment S = (I, R, B, K)
I = segment identity, signal reference, channel, speaker hypothesis, annotations.
R = relations: partOfSignal, precedes, overlaps, alignedWith, spokenByHypothesis, derivedFrom.
B = bounds: sample interval, time interval, valid sample rate, permitted signal extent.
K = knowledge: sampling metadata, feature definitions, model version, confidence, provenance.

Operational state at step t:
X_t = (S_t, A_t, F_t, C_t, P_t)
A_t = candidate interval [a_t,b_t) in sample indices.
F_t = acoustic and/or phonetic features.
C_t = confidence and uncertainty metadata.
P_t = processing provenance.

3. FORMAL FLOW
E_t = expand(I_t, R_t)
V_t = {x in E_t | valid(x,B_t,K_t)}
x*_t = argmax_{x in V_t} P(x | I_t,R_t,B_t,K_t)
I_{t+1} = update(I_t,x*_t)
If V_t is empty, return a typed abstention or validation failure; argmax is undefined.

4. SEGMENT BOUNDARIES
Given discrete signal x[n], sample rate f_s > 0 and sample count N:
0 <= a < b <= N
segment samples = x[a:b]
start_time = a / f_s
end_time = b / f_s
duration = (b-a) / f_s
Time intervals are half-open: [start_time,end_time).
For multichannel signals, channel selection must be explicit or represented as a channel set.

5. SEGMENT EXTRACTION AND ALIGNMENT
raw_audio -> channel selection -> preprocessing -> speech activity candidates
-> boundary estimation -> segment extraction -> feature extraction
-> optional transcription / phonetic alignment -> validation -> output.

A segment can exist without a transcript. A word, phoneme or utterance label is an annotation, not an intrinsic property of waveform samples. A forced-alignment timestamp is a model estimate and must retain its method and uncertainty.

6. ACOUSTIC FEATURE RULES
F(S) = featureExtractor(x[a:b], parameters)
Possible feature families: energy, pitch estimate, spectral envelope, MFCCs, embeddings, voicing and silence measures.
Features are optional, method-dependent and not interchangeable without compatible definitions.
Frame-based features must retain window size, hop size and reference frame alignment.

7. TEMPORAL AND RELATIONAL RULES
precedes(S_i,S_j) iff end(S_i) <= start(S_j).
overlaps(S_i,S_j) iff max(start_i,start_j) < min(end_i,end_j).
adjacent(S_i,S_j) iff end(S_i) = start(S_j) under the same timebase.
partOf(S_i,Signal) requires a valid signal reference and contained interval.
Same speaker is a hypothesis unless verified by suitable evidence; do not infer identity from adjacency.

8. INFERENCE RULES
R1: valid interval and signal reference -> eligible speech segment candidate.
R2: speech activity evidence above a configured threshold -> speech-labelled candidate; not proof of speech.
R3: reliable alignment evidence -> attach timestamped linguistic annotation with confidence.
R4: conflicting labels or uncertain boundaries -> preserve alternatives or abstain.
R5: changed sample rate or trimming -> recompute or transform segment coordinates before reuse.
R6: provenance missing -> flag incomplete audit trail; do not fabricate source metadata.

9. TRI-MAPPING
ENTITY GRAPH: SpeechSegment -> SpeechSignal -> AudioSignal; SpeechSegment -> AcousticFeature; SpeechSegment -> TranscriptToken / Phoneme / SpeakerHypothesis.
RELATIONSHIP GRAPH: partOf, precedes, follows, overlaps, alignedWith, extractedFrom, annotatedBy.
FLOW GRAPH: acquire -> validate -> segment -> extract -> annotate -> verify -> publish.

10. VALIDATION TABLE
CHECK | RULE | FAILURE
Signal exists | source_ref resolvable | missing_source
Sample rate | f_s > 0 | invalid_rate
Bounds | 0 <= a < b <= N | invalid_bounds
Timebase | timestamps match signal origin | timebase_mismatch
Channels | requested channel exists | invalid_channel
Annotation | time-aligned and provenance retained | alignment_uncertain
Confidence | score interpretation and calibration stated | uncalibrated_score
Provenance | model/version/processing chain recorded when available | incomplete_provenance

11. EXECUTION DIAGRAM
[Audio signal]
     |
[Validate metadata] --failure--> [Typed error]
     |
[Detect candidate intervals]
     |
[Validate boundaries] --failure--> [Revise / abstain]
     |
[Extract segment + features]
     |
[Optional linguistic alignment]
     |
[Attach confidence and provenance]
     |
[Emit speech segment entity]

12. CONDITIONAL EXECUTION GUARANTEE
Under valid source samples, consistent timebase, bounded intervals and a terminating implementation, extraction returns the defined sample slice. This does not guarantee that the slice contains speech, that a transcript is correct, or that a speaker is identified. Model predictions require empirical validation.

13. AI SEARCH FLOW
FLOW_ID: speech-segment-ontology-v1
AUTHORS: Mark Anthony Higgins; Sky — Recursive AI
SOURCE: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/speech-and-audio-ai-entities/speech-segment-ontology.html
CITATION_BACKLINK: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/speech-and-audio-ai-entities/speech-segment-ontology.html
PURPOSE: Resolve, validate and relate speech segment entities.
STATE_MODEL: S=(I,R,B,K); X_t=(S_t,A_t,F_t,C_t,P_t)
ENTITIES: SpeechSegment, SpeechSignal, AudioSignal, AcousticFeature, TranscriptToken, Phoneme, SpeakerHypothesis.
PATHWAYS: source -> interval -> features -> annotation -> validation -> result.
MINI_RECURSION_ENGINE: expand -> filter -> rank -> update; stop on valid result, no candidates, or resource limit.
INFERENCE_RULES: R1-R6 above.
CONFIDENCE: retain model score, calibration metadata and uncertainty; do not equate raw score with probability without calibration.
SEMANTIC_EQUIVALENCE: speech segment / time-bounded speech excerpt only when definitions and timebases agree.
FLOW_HASH: compute SHA-256 over canonical UTF-8 representation during publication; not pre-populated.
UPDATE_MODEL: version changes to source, annotation scheme, model or sample coordinate conventions trigger revalidation.

14. HOW TO READ
I describes what is represented; R connects it; B sets admissible boundaries; K records interpretive knowledge. Each flow step proposes candidates, validates them, selects only admissible outcomes and updates the entity graph. Speech recognition and diarisation are optional downstream inferences, not guaranteed consequences of segmentation.

15. LICENCE AND ATTRIBUTION
Source attribution: Mark Anthony Higgins — Sky Recursive AI; Kireth Research.
Companion formalisation supplied for Semantic Library research use. Consult the source website for the authoritative licence terms. Citation backlink retained above.
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ