Method, system, and apparatus for converting numbers between measurement systems based upon semantically labeled strings
First Claim
1. In a system for creating and editing an electronic document, a method to be executed by a plurality of software programs encoded on a computer-readable medium for converting a number between two systems of measurement, the method comprising:
- receiving 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 having an associated unit name;
in response to determining that the string of text includes a number having an associated unit name, semantically labeling the number with schema information identifying the unit name as a source of measure, wherein the semantic labeling becomes part of the electronic document;
automatically determining a current user interface language setting for an application program associated with the electronic document;
displaying the number and the unit name and an indication that the number has been semantically labeled;
receiving, from a user, a selection of the number or the indication;
in response to receiving the selection of the number or the indication, displaying, to the user, a list of actions in a language specified by the current user interface language setting that are to be performed on the number to convert the number to a destination unit of measure, the list of actions identified based upon the schema information;
receiving, from the user, the selection of an action from the list of actions;
in response to receiving the selection of an action, determining a value for the number based upon a format associated with a language in which the string of text is expressed, if the selected action is associated with converting the number;
generating a converted number by converting the value to the destination unit of measure identified by the selected action;
replacing the number with the converted number in the string of text; and
if the selected action is associated with removing the semantic labeling, removing the semantic labeling from the electronic document.
2 Assignments
0 Petitions
Accused Products
Abstract
Number conversion between different units of measurement in a document is enabled. A string of text entered into an application program is analyzed to determine whether it includes a number having an associated unit name. Found numbers with associated unit names are semantically labeled with schema information identifying the unit name as a source unit of measurement. When the number is selected or an indication received that the number is labeled with schema information, a list of actions may be provided identifying conversion options for the number. In response to selection of one of the conversion options, the selected number is converted to the destination unit of measure identified by the selected action. The converted number may then be inserted into the string of text to replace the selected number along with a unit name corresponding to the destination unit of measure.
281 Citations
17 Claims
-
1. In a system for creating and editing an electronic document, a method to be executed by a plurality of software programs encoded on a computer-readable medium for converting a number between two systems of measurement, the method comprising:
-
receiving 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 having an associated unit name; in response to determining that the string of text includes a number having an associated unit name, semantically labeling the number with schema information identifying the unit name as a source of measure, wherein the semantic labeling becomes part of the electronic document; automatically determining a current user interface language setting for an application program associated with the electronic document; displaying the number and the unit name and an indication that the number has been semantically labeled; receiving, from a user, a selection of the number or the indication; in response to receiving the selection of the number or the indication, displaying, to the user, a list of actions in a language specified by the current user interface language setting that are to be performed on the number to convert the number to a destination unit of measure, the list of actions identified based upon the schema information; receiving, from the user, the selection of an action from the list of actions; in response to receiving the selection of an action, determining a value for the number based upon a format associated with a language in which the string of text is expressed, if the selected action is associated with converting the number; generating a converted number by converting the value to the destination unit of measure identified by the selected action; replacing the number with the converted number in the string of text; and if the selected action is associated with removing the semantic labeling, removing the semantic labeling from the electronic document. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)
-
-
15. A system embodied on a computer-readable medium for converting a number between two systems of measurement, the system comprising:
-
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 having an associated unit name, in response to determining that the string of text includes a number having an associated unit name, semantically labeling the number with schema information identifying the unit name as a source unit of measure and identifying the language used to express the string of text, wherein the semantic labeling becomes part of the electronic document, and automatically determining a current user interface language setting for the electronic document; an application program for creating and editing the electronic document, the application program capable of displaying the string of text and an indication that the number has been semantically labeled, receiving a selection of the number or the indication, in response to receiving the selection of the number or the indication, displaying, to a user, a list of actions in a language specified by the current user interface language setting that are to be performed on the number to convert the number to a destination unit of measure, the list of actions identified based upon the schema information, receiving the selection of an action from the list of actions, and providing the selected action and the number to an action plug-in; and an action plug-in capable of generating a converted number by converting the number to the destination unit of measure identified by the selected action, and replacing the number with the converted number and a unit name corresponding to the destination unit of measure in the string of text, if the selected action is associated with converting the number, and if the selected action is associated with removing the semantic labeling, removing the semantic labeling from the electronic document. - View Dependent Claims (16, 17)
-
Specification