dot-parse_categorical_features function

Internal function for setting categorical features