modified bigram to allow for further training