1. A computer program embedded in a non-transitory computer-readable storage medium, when executed by one or more processors, for generating a link title, the computer program comprising: program instructions for determining a context webpage URL (Uniform Resource Locator) and a link URL to be shown as a web result, wherein the link URL is embedded inside the context webpage; program instructions for evaluating generation parameters for a plurality of sources, the generation parameters indicating a probability of the corresponding source for picking words from a link title for the link URL, the generation parameters for a given source including a probability α s that the given source, when asked to construct a text instance, picks a word from a true title; program instructions for generating a plurality of candidates for the link title; program instructions for computing a likelihood for each candidate considering the generation parameters, the context webpage and words from the plurality of sources; program instructions for selecting a candidate with a highest likelihood; and program instructions for presenting to a user the context webpage URL and the link URL, wherein the selected candidate is presented as the link title for the link URL.