1. In a computing environment, a method comprising, processing a log of queries to obtain new words for a dictionary, including: selecting a set of queries based upon language from the log of queries; filtering out queries that are infrequent in the selected set of queries obtained from the log; translating queries in the log of queries to pinyins using a query-to-pinyin model; clustering queries corresponding to a common pinyin; in each cluster of queries with a common pinyin, sorting the queries by frequency; filtering out queries that have a low frequency in each cluster; eliminating any remaining query corresponding to words that are not new to the dictionary; and adding words that are new to the dictionary to the dictionary.