Inventors:
Richard Gillam - San Jose CA
Assignee:
International Business Machines Corporation - Armonk NY
International Classification:
G06F 1720
Abstract:
A number translation engine is based on a textual description of the procedure for spelling out a number in any of a variety of languages. The number translation engine comprises an output alphabetical representation formatter which, in turn, comprises a formatting engine and rule set. Each rule within a rule set includes a base output alphabetical representation and an indication to the formatting engine, either implicitly or explicitly, of a range of numerical values for which the rule applies. The formatting engine obtains a base output alphabetical representation from an appropriate rule within a rule set and builds up an output alphabetical representation, adding output alphabetical representations from other rules within the rule set, as necessary. Additionally, where appropriate, a rule indicates where âadditionalâ output alphabetical representations may be placed in relation to the base, or root, output alphabetical representation in order to construct a complete output alphabetical representation. The formatting engine may operate in concert with various rule sets in order to effect various numerical-to-alphabetical translations.