build trigrams project