A word semantic similarity solution method based on a context window comprises the steps of inputting words to be compared in a statistical method module; determining a context range of the words to be compared; finding out two sentences with maximum weight in the range; calculating similarity between the two sentences; and finally, solving the similarity between the words to be compared according to the similarity of the sentences. By the word semantic similarity solution method, very valuable quantitative description is provided for determination of an effective range of the context, and the defect of previous subjective description is overcome; the position of description capability of the context to the key word is gradually reduced from the near to the distant, and the word semantic similarity solution method conforms to ordinary knowledge of people; the linearity and the signal-to-noise ratio of a weight contribution value are better, and simple subsequent calculation is facilitated; the normalization curve accuracy of the weight contribution value is higher; the influence of a sentence constituent relation in a left window and a right window of a key word on defining of an effective window in the context is considered; and the solution of word semantic similarity by applying a context window technology is achieved, and calculation precision and accuracy are higher.
Word semantic similarity solution method based on context window