1. A computer-implemented method comprising: identifying candidate phrases in a webpage based at least on an online encyclopedia phrases index; associating the candidate phrases with online encyclopedia entries; and selecting one or more of the candidate phrases as keywords for advertisement targeting based at least in part on quantities of associations between a candidate phrase and categories of the candidate phrases, the categories including the online encyclopedia entries, in which the keywords for advertisement targeting are extracted by mining semantics provided by an online encyclopedia taxonomy.