results gen for trigram