only extract n-grams with types