Bayesian language detection library