1. A method comprising: receiving a sequence of at least one letter from a user device; determining location information associated with the user device; mapping the received sequence of at least one letter and the location information with a database of multiple terms, a term of the multiple terms being related to a stored sequence of at least one letter and a context location based on a historical correlation between the term and the stored sequence of at least one letter in the context location; providing a candidate term out of the multiple terms as corresponding to the received sequence of at least one letter on the mapping; and displaying the candidate term as corresponding to the received sequence of at least one letter.