added option to remove common trigrams from measure