The invention discloses word entry retrieval and wrong word detection methods and systems for a
pinyin input method. The retrieval method comprises the steps of detecting whether a reference word entry exists before or after a currently input
pinyin string; if the front or back reference word entry exists, performing matching in a word
bank according to the front or back reference word entry and the current input
pinyin string to obtain at least one back or front word entry; and if
no reference word entry exists before or after the pinyin string, performing matching in the word
bank according to the current pinyin string to obtain corresponding word entries or a word entry
list. The wrong word detection method comprises the steps of obtaining at least one front or back word entry according to the reference word entry of the pinyin string currently input by a user; constructing a
word graph; performing forward and reverse comparison, wrong key
processing or wrong
sequence processing; and judging whether the processed pinyin string meets a pinyin rule or not, and if yes, returning the word entry corresponding to the
word graph to the user. According to the methods and systems, the word entry recommendation accuracy and the
user input correction capability in the
input method are improved.