In general, a sentence will be represented as a vector of features € S 1 = { f 11 , f 12 , f 13 ,....., f 1n } and the similarity is calculated based on the feature vectors of the two sentences.
the essential problem becomes how to build the feature vector for a sentence.