Unsupervised model for joint tagging and morphological analysis/generation