An input method, wherein the input method is implemented in an electronic device that has a fingerprint collection device and a touchscreen, and is further configured to store a correspondence between one or more registered fingerprints and one or more personal lexicons, the method comprising: displaying a graphical user interface of a text input application, wherein the graphical user interface comprises an area for recording a fingerprint of a current user; when the text input application runs, obtaining a fingerprint of the current user in the area; when the obtained fingerprint matches one of the registered fingerprints in the stored correspondence, determining a personal lexicon corresponding to the matching registered fingerprint to be a target lexicon; and providing by using the target lexicon, at least one candidate word corresponding to a current input event; wherein when the obtained fingerprint is an unregistered fingerprint, the method further comprises: establishing a temporary personal lexicon corresponding to the obtained fingerprint; wherein after the establishing a temporary personal lexicon corresponding to the fingerprint, the method further comprises: when a similarity between the temporary personal lexicon and a personal lexicon of a first user is greater than a threshold, adding, by the electronic device, the temporary personal lexicon to the personal lexicon of the first user; and establishing a correspondence between the obtained fingerprint and the personal lexicon of the first user in the correspondence; wherein the similarity between the temporary personal lexicon and the personal lexicon of the first user is determined based on a number of same words included in a set of frequently used words recorded in the temporary personal lexicon and a set of frequently used words recorded in the personal lexicon of the first user. displaying a graphical user interface of a text input application, wherein the graphical user interface comprises an area for recording a fingerprint of a current user; when the text input application runs, obtaining a fingerprint of the current user in the area; when the obtained fingerprint matches one of the registered fingerprints in the stored correspondence, determining a personal lexicon corresponding to the matching registered fingerprint to be a target lexicon; and providing by using the target lexicon, at least one candidate word corresponding to a current input event; wherein when the obtained fingerprint is an unregistered fingerprint, the method further comprises: establishing a temporary personal lexicon corresponding to the obtained fingerprint; wherein after the establishing a temporary personal lexicon corresponding to the fingerprint, the method further comprises: when a similarity between the temporary personal lexicon and a personal lexicon of a first user is greater than a threshold, adding, by the electronic device, the temporary personal lexicon to the personal lexicon of the first user; and establishing a correspondence between the obtained fingerprint and the personal lexicon of the first user in the correspondence; wherein the similarity between the temporary personal lexicon and the personal lexicon of the first user is determined based on a number of same words included in a set of frequently used words recorded in the temporary personal lexicon and a set of frequently used words recorded in the personal lexicon of the first user. establishing a temporary personal lexicon corresponding to the obtained fingerprint; wherein after the establishing a temporary personal lexicon corresponding to the fingerprint, the method further comprises: when a similarity between the temporary personal lexicon and a personal lexicon of a first user is greater than a threshold, adding, by the electronic device, the temporary personal lexicon to the personal lexicon of the first user; and establishing a correspondence between the obtained fingerprint and the personal lexicon of the first user in the correspondence; wherein the similarity between the temporary personal lexicon and the personal lexicon of the first user is determined based on a number of same words included in a set of frequently used words recorded in the temporary personal lexicon and a set of frequently used words recorded in the personal lexicon of the first user. when a similarity between the temporary personal lexicon and a personal lexicon of a first user is greater than a threshold, adding, by the electronic device, the temporary personal lexicon to the personal lexicon of the first user; and establishing a correspondence between the obtained fingerprint and the personal lexicon of the first user in the correspondence; wherein the similarity between the temporary personal lexicon and the personal lexicon of the first user is determined based on a number of same words included in a set of frequently used words recorded in the temporary personal lexicon and a set of frequently used words recorded in the personal lexicon of the first user.