An Alphabet-Reduction Algorithm for Chordal n-Grams · Study