Document class now has n_gram analysis