Generalized Bi-Additive Modelling for Categorical Data