摘要 |
In one embodiment, a computer executes a translation program for translating a phrase from a first language to a second language. Initially, the executing program receives the phrase to be translated. It then identifies in the phrase a translatable portion thereof. Next, it locates from a hierarchally-ordered expanded list of translation pairs, which each have equivalent first-language and second-language chunks, a pair having a first-language chunk that most closely matches the translatable portion with att least a part of the translatable portion being identical to the located first-language chunk. Finally, the executing program replaces at least a part of the translatable portion with the second-language chunk from the located translation pair. In this way, the executing program at least partially (if not completely) automatically translates the input phrase from the first language to the second language.
|