str kernel and tri-gram language model