QUESTION 5 OF 10

How can n-grams capture local word order?

Reveal the answer and explore the explanation.

05
MediumHigh priority

How can n-grams capture local word order?

Answer
Answer

Contiguous sequence of n tokens.

Practical example

Use two-word phrases to retain limited local order.

Reference: Further reading ↗

Last 30 min revisionHigh-yield interview Q&As