Computer scienceData scienceNLPText representationCount-based text representations

Bag-of-words

Pairs

Report a typo

Consider these four sentences:

I saw this film last night.

Was it interesting?

It was very interesting.

I would definitely recommend it.

The vocabulary for these sentences are as follows: "I", "saw", "this", "film", "last", "night", "was", "it", "interesting", "very", "would", "definitely", "recommend". Match each bag-of-words representation with the sentence it encodes.

Match the items from left and right columns
Sentence 1
Sentence 2
Sentence 3
Sentence 4
[0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0]
[1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0]
[0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0]
[1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 1, 1]
___

Create a free account to access the full topic