Text this: A generalization of Bayesian estimation in finite mixture of distributions