Learn to build large language model applications: vector databases, langchain, fine tuning and prompt engineering. Learn more

N-Grams in Natural Language Processing


In this quick tutorial, we learn that machines can not only make sense of words but also make sense of words in their context. N-grams are one way to help machines understand a word in its context by looking at words in pairs. By looking at pairs of words, we capture the broader context of words to then train machines to learn these language queues and gain a better understanding of the real meaning of the text.

What you’ll learn

  • Introduction to N-Grams
  • Examples of how you could use N-Grams in natural language processing
Rebecca 500X500 v2 compressed
Rebecca Merrett
Rebecca holds a bachelor’s degree of information and media from the University of Technology Sydney and a post graduate diploma in mathematics and statistics from the University of Southern Queensland. She has a background in technical writing for games dev and has written for tech publications.

We are looking for passionate people willing to cultivate and inspire the next generation of leaders in tech, business, and data science. If you are one of them get in touch with us!