A proposal for the latent segmentation analysis