Computer scienceData scienceNLPText representationCount-based text representations

Bag-of-words

Missing element

Report a typo

We have a table, in which we mark occurrences of words from two sentences.

it

was

summer

not

Sentence1

1

1

1

1

Sentence2

2

2

1

0

The following vectors represent the frequency of the words in both texts. Enter the missing number in the second vector.

vSentence1=[0.25,0.25,0.25,0.25]v_{\text{Sentence1}}=[0.25,0.25,0.25,0.25]

vSentence2=[0.40,0.40,v_{\text{Sentence2}}=[0.40, 0.40, ___,0, 0]]

Enter a number
___

Create a free account to access the full topic