Add the segmented data tag to the data or update it.
Will just segment an item if it has the key '#translate' set to TRUE.
array $data: The data array of a JobItem. Example: [ '#text' => 'Unsegmented source text', '#translate' => TRUE, ]
array An array with the the segments. Example: [ '#text' => 'Unsegmented source text', '#translate' => TRUE, '#segmented_text' => '<tmgmt-segment>Segmented source text</tmgmt-segment>' ]
public function getSegmentedData($data);