Method, system, and apparatus for converting numbers based upon semantically labeled strings
First Claim
1. A method for creating and editing an electronic document and for converting a number in a computer system comprising a memory storage and a processing unit, the method comprising:
- receiving by the computer system a portion of the electronic document as a string of text;
analyzing the string of text to determine whether the string of text includes a number expressed using digit shapes by identifying the number expressed using digit shapes regardless of a language in which the digit shapes are expressed;
in response to determining that the string of text includes the number expressed as digit shapes, semantically labeling by the computer system the number with schema information by associating the string of text with an inline eXtensible Markup Language (XML) tag belonging to at least one semantic category, indicating that the number is convertible and the semantic categories are being stored in the electronic document;
displaying, in a user interface on a display device, the string of text and an indication that the number has been semantically labeled;
receiving by the computer system a selection of the indication in the user interface;
in response to receiving the selection of the indication, providing by the computer system a dropdown menu in the user interface on the display device displaying a list of actions for converting the number expressed as digit shapes in the semantically labeled string of text, the list of actions being identified upon the schema information;
receiving by the computer system a selection of an action from the list of actions in the dropdown menu;
in response to receiving the selection of an action, generating by the computer system a converted number by converting the number expressed using digit shapes to the same number expressed as text; and
replacing the number in the electronic document with the converted number in the string of text.
3 Assignments
0 Petitions
Accused Products
Abstract
A method, system, and apparatus are provided for converting numbers to text and to digit shapes expressed in different languages. When a string of text is entered into an application program, the string is analyzed to determine whether the string of text includes a number expressed using digits. If the string of text includes a number expressed using digits, the number is semantically labeled with schema information. When a selection is received of the number, a list of actions may be provided identifying conversion actions available for the number. One of the conversion options may then be selected resulting in the conversion of the selected number to text in one or more languages. A conversion option may also be selected for converting the number digits to digits expressed using other digit shapes. The converted number may then be inserted into the string of text to replace the selected number.
373 Citations
20 Claims
-
1. A method for creating and editing an electronic document and for converting a number in a computer system comprising a memory storage and a processing unit, the method comprising:
-
receiving by the computer system a portion of the electronic document as a string of text;
analyzing the string of text to determine whether the string of text includes a number expressed using digit shapes by identifying the number expressed using digit shapes regardless of a language in which the digit shapes are expressed;in response to determining that the string of text includes the number expressed as digit shapes, semantically labeling by the computer system the number with schema information by associating the string of text with an inline eXtensible Markup Language (XML) tag belonging to at least one semantic category, indicating that the number is convertible and the semantic categories are being stored in the electronic document; displaying, in a user interface on a display device, the string of text and an indication that the number has been semantically labeled; receiving by the computer system a selection of the indication in the user interface; in response to receiving the selection of the indication, providing by the computer system a dropdown menu in the user interface on the display device displaying a list of actions for converting the number expressed as digit shapes in the semantically labeled string of text, the list of actions being identified upon the schema information; receiving by the computer system a selection of an action from the list of actions in the dropdown menu; in response to receiving the selection of an action, generating by the computer system a converted number by converting the number expressed using digit shapes to the same number expressed as text; and replacing the number in the electronic document with the converted number in the string of text. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A system for converting a number expressed as digits to text, the system comprising:
-
a memory storage; and a processing unit coupled to the memory storage, wherein the processing unit is operative to; execute a recognizer plug-in capable of receiving a portion of an electronic document as a string of text from an application program, analyzing the string of text to determine whether the string of text includes a number expressed as digit shapes by identifying the number expressed using digit shapes regardless of a language in which the digit shapes are expressed, and in response to determining that the string of text includes a number, semantically labeling the number with schema information by associating the number with an inline eXtensible Markup Language (XML) tag belonging to at least one semantic category; execute an application program for creating and editing the electronic document, the application program capable of displaying, on a display device, the string of text and an indication by a user that the number has been semantically labeled, receiving a selection of the indication, in response to receiving the selection of the indication providing a dropdown menu on the display device listing actions for converting the number contained in the semantically labeled text to one of;
a number expressed as different digit shapes and a number to expressed as text in one of a plurality of languages, receiving the selection of an action from the dropdown menu listing, and providing the selected action and the number to an action plug-in; andexecute an action plug-in capable of generating a converted number by converting the number to one of;
a number expressed in different digit shapes and a number expressed as text in the language identified by the selected action, and replacing the number with the converted number in the string of text associated with the application program. - View Dependent Claims (7, 8, 9)
-
-
10. A computer-readable storage medium which stores a set of instructions for an application program which when executed by a computer system comprising a processing unit and a storage device performs a method for creating and editing an electronic document and for converting a number, the method executed by the set of instructions comprising:
-
determining by the computer system whether a string of text within the document contains a number expressed as digit shapes by identifying the number expressed using digit shapes regardless of a language in which the digit shapes are expressed; in response to determining that the string of text includes the number expressed as digit shapes, semantically labeling by the computer system the number with schema information by associating the string of text with an inline eXtensible Markup Language (XML) tag belonging to at least one semantic category, indicating that the number is convertible and displaying in a user interface the number identified as digit shapes; generating and displaying on a display device in the user interface a list of actions for converting the semantically labeled string of text to contain the number expressed as different digit shapes, the list of actions being identified upon the schema information; responsive to a selection by the user of an action from the displayed list, generating by the computer system a converted number by converting the number to equivalent text in a language identified in the selection by the user and replacing each digit shape in the selected number with a corresponding different digit shape in the language identified in the selection by the user; and
theninserting by the computer system the converted number into the string of text in the electronic document to replace the selected number therein expressed as digit shapes. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17, 18, 19, 20)
-
Specification