AIExplainer

What is bigram?

A sequence of two items from a string of tokens

A bigram is a pair of items that appear together in a sequence, such as words in a sentence or characters in a text. It's a way to analyze and understand the relationships between items in a dataset.

Bigrams are like looking at pairs of words in a sentence, like 'hello world', to see how often they appear together, just like how you might look at pairs of friends who always sit together in a classroom.

A search engine might use bigrams to predict the next word in a search query, so if you type 'hello', it might suggest 'world' as the next word.

Bigrams are used in natural language processing and machine learning to analyze text data, predict the next word in a sequence, and improve language models.

Some people think bigrams are only used for language processing, but they can also be applied to other types of sequences, such as music or genetic data.

The concept of bigrams has been around since the 1950s, but it wasn't until the development of modern natural language processing techniques that they became widely used.

pairwise sequence two-gram digram

Three products for different needs — explore what’s relevant to you.