Added Python code to generate ngram examples, edited document model (except pros and cons).