add n-gram model builder and build 2-gram and 3-gram