a neural model for trigrams