trying trigram model and generating confidence figures