Class: Text

models~ Text

A class representing a linguistic text, formatted according to the DLx Data Format for a language


new Text( [data])

Create a new Text

Parameters:
Name Type Argument Default Description
data Object <optional>
{}

The data for this text, formatted as a DLx Text object.

Properties
Name Type Argument Description
tags Map | Object <optional>

The tags for this text, formatted as a DLx Tags object.

Properties:
Name Type Description
tags models.Tags

The tags for this text

title models.MultiLangString

The title of this text

utterances core.Collection

An array of utterances in this text

Extends