return s;
}
private TextStructure createSimpleStructure() {
assert (completedSegments.size() == 1);
SimpleTextStructure s = new SimpleTextStructure(name, false);
Segment segment = completedSegments.get(0);
segment.setName("");
segment.setParentName("");
s.setSegment(segment);
return s;
}