Functions to handler each type of feature and get the regularized array.