moved unigram features and bigram pattern features to separate files