Bag-of-Words

Quick definition

A text representation based on word counts or presence without word order.

A text representation based on word counts or presence without word order.

Example: A spam filter counts terms such as free and offer in messages.

Where it is useful: language understanding, text analytics, extraction, and conversational systems.

Examples

  • A spam filter counts terms such as free and offer in messages.

Use cases

  • language understanding, text analytics, extraction, and conversational systems.

Frequently asked questions

What is Bag-of-Words?

A text representation based on word counts or presence without word order.

Can you give an example of Bag-of-Words?

A spam filter counts terms such as free and offer in messages.

Categories and tags