At first sight, it might appear that we have made the segmentation problem intractably harder by turning it into a classification problem with a number of labels exponential on the length of the instance.
we can bound the number of labels under consideration and take advantage of the structure of labels to find the k most likely labels efficiently.