Table 1

Example of the calculation for the comment vectors

WordDimension
1298299300
Comment 1
Lovely0.045 −0.011−0.0030.004
Smile0.154 −0.0510.071−0.035
Average0.0995a −0.0310.034−0.0155
Vector of comment 1 = [0.0995, …, −0.031, 0.034, −0.0155]
a(0.045 + 0.154)/2 = 0.0995
Comment 2
Refreshing0.004 0.0140.027−0.004
Flavor−0.003 0.117−0.028−0.017
Average0.0005 0.0655−0.0005−0.0105

Vector of comment 2 = [0.0005, …, 0.0655, −0.0005, −0.0105]

Note(s): The word vectors of “lovely,” “smile,” “refreshing” and “flavor” are taken from fastText and each word vector has 300 dimensions

or Create an Account

Close Modal
Close Modal