nominal feature transformation