A method and system for translating text from a source language into a target language is described. A source word table and a source structure analysis table corresponding to the source language can be generated based on the text to be translated. A target word table and a target structure analysis table corresponding to the target language can be generated based on the source word table and the source structure analysis table. A translation of the text from the source language into the target language is then generated using the target word table and the target structure analysis table.