span segmentation containing large labels and sublabels

Came up with this problem after using two step approaches and training the annotated data.