we count occurrence of word in a document w.r.t list. For example- vector conversion of sentence “There used to be Stone Age” can be represented as :
“There” = 1
”was”= 0
”to”= 1
”be” =1
”used” = 1
”Stone”= 1
”Bronze” =0
“Iron” =0
”Revolution”= 0
”Digital”= 0
”Age”=1
”of”=0
”Now”=0
”it”=0
”is”=0