2. The method of claim 1 , wherein the location information further includes a worksheet associated with the income-tax document, and lines in the worksheet.
1. A computer-implemented method for assembling a tax-information data structure, comprising: receiving a plurality of income-tax documents, wherein the documents comprise tax-forms, instructions, and publications issued by an income-tax authority to be used for subsequent income-tax preparation by users; extracting, by a computer, information about taxes from the received income-tax documents, wherein the information about taxes comprises tax phrases; extracting context information related to the extracted tax information, wherein the context information comprises location information associated with the extracted tax information, and wherein the location information comprises at least one of a title or version of an income-tax document, a page number in an income-tax document, and a page index associated with an income-tax document; identifying a first set of tax phrases in the extracted tax information, wherein the identifying involves using semantic and structural heuristics; identifying a second set of tax phrases in the extracted tax information using a statistical identification technique; constructing, by the computer, the tax-information data structure, wherein the constructing involves building an association between the first and second sets of tax phrases with the extracted context information; storing, in a memory of the computer, the constructed tax-information data structure; receiving, at the computer, a tax-related query from a user, wherein the user is executing an income tax-preparation software; processing the received query using the stored tax-information data structure to generate an answer; and displaying the generated answer to the user.