| 1 Definition | 2 Functional Requirements | 3 Syntax |
| 4 Semantics | 5 Conformance Testing | 6 Performance Assessment |
1 Definition
Text Segment (MMC-TXS) is a Data Type: A segment of a Text, made of Text Words, with the time it spans and the confidence with which it was recognised.
2 Functional Requirements
- The Data shall have Header “MMC-TXS-V2.5”.
- The Data shall include text segment id – unique identifier of this Text Segment instance.
- The Data may include text segment time – time this Text Segment was produced.
- The Data may include text qualifier – qualifier providing information on Sub-Types, Formats and Attributes of the Text.
- The Data shall include text segment data – text Segment Data.
- The Data shall include DataXMData and may include DescrMetadata.
3 Syntax
https://schemas.mpai.community/MMC/V2.5/data/TextSegment.json
4 Semantics
| Label | Description |
| Header | Header of the Data Type, with the version. (required) |
| MInstanceID | Identifier of the M-Instance (Virtual Space) where this Text Segment is or is intended to be located. |
| UEnvironmentID | Identifier of the U-Environment (Real Space) where this Text Segment is or is intended to be located. |
| TextSegmentID | Unique identifier of this Text Segment instance. (required) |
| TextSegmentTime | Time this Text Segment was produced. |
| TextQualifier | Qualifier providing information on Sub-Types, Formats and Attributes of the Text. |
| TextSegmentData | Text Segment Data. (required) |
| – Time | Time span of the segment. |
| – ConfidenceScore | Confidence with which the segment was recognised, 0 to 1. |
| – Segment | The Text Words of the segment, in order. |
| –– Word | Word. |
| DataXMData | MPAI-PTF Data Exchange Metadata providing provenance, authorisation, legal and security information on the Data. |
| DescrMetadata | Human-readable descriptive metadata of the Text Segment (plain text, max 2048 characters). |
5 Conformance Testing
A Data instance conforms with MPAI-MMC V2.5 Text Segment (MMC-TXS) if the Data validates against the JSON Schema of the Data Type, and all Data that the schema refers to have the specified type, validate against their JSON Schemas and conform with their Data Qualifiers, if present.
6 Performance Assessment
Not part of this specification.