摘要 |
An input method and apparatus and an electronic device. The input method comprises: acquiring historical dialogue information about a dialogue window (101); extracting characteristic information in the historical dialogue information, wherein the characteristic information comprises a key word (102); determining prediction information, wherein the prediction information comprises the key word (103); acquiring an on-screen candidate word queue in an input text box in the dialogue window according to the prediction information (104); and outputting the on-screen candidate word queue (105). By fully excavating the historical dialogue information about the dialogue window, determining the prediction information by integrating the characteristic information extracted from the historical dialogue information, and searching a corresponding associated candidate word bank according to the prediction information, the final on-screen candidate queue is obtained. According to the method, no matter whether the input text box is blank or not, the on-screen candidate queue still can be acquired; moreover, the acquired on-screen candidate queue is obviously more reasonable and more accurate than that acquired only according to an on-screen entry of a user last time. |