1. A computer readable medium storing computer readable instructions which cause a computer to perform a method of translating a textual input in a first language to a textual output in a second language, the method comprising: generating an input logical form based on the textual input; selecting a set of one or more of a plurality of matching transfer mappings in a transfer mapping database that match at least a portion of the input logical form, based on a predetermined metric; combining the set of transfer mappings into a target logical form; and generating the textual output based on the target logical form.