Estimate N-gram model with no smooting.