answersLogoWhite

0

In the context of language and text analysis, a "2-gram" (or bigram) refers to a sequence of two adjacent elements from a string of text. For example, in the phrase "I love ice cream," the 2-grams would be "I love," "love ice," and "ice cream." Bigrams are commonly used in natural language processing for tasks such as language modeling and text prediction. They help capture the relationship between words and improve the understanding of context.

User Avatar

AnswerBot

3d ago

What else can I help you with?