built 2-gram model with the whole data