摘要 |
A computer system transliterates a text string from a first language to a second language using transliterator objects, each having a set of transliteration rules arranged in a preferred order. Each of the transliteration rules, in turn, has a test string and a replacement string and the transliterator object includes a method for comparing the test string in each of the transliteration rules to each of the characters in the text string to determine a subset of transliteration rules which exhibit a match. Using the preferred order, one of the subset of transliteration rules is selected and the replacement string of the selected transliteration rule is substituted for the test string in the text string. |