Dataset Object without ClassLabel

I have the same issue. Maybe I’m looking in the wrong places, but I can’t find much in the guide about casting a feature to ClassLabel when making your own dataset… In my case, I have string IOB labels labels to transform to ints.

EDIT: this clued me in to the solution: How to create custom ClassLabels?