bayesian Chinese program