N-grams in Minutes

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. We go over what n-grams are and some examples of how you could use them in natural language processing. 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.

Next video:
Introduction to Natural Language Processing

Previous video:
One vs. One versus One vs. All

Recommended Data Science Material:
[Video] NLP 101 + Chatbots
[Video] Introduction to Text Analytics in R
[Blog] Natural Language Processing with R Programming Books

 

(315)

Rebecca Merrett
About The Author
- 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.

Avatar

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>