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 for converting a number between two systems of measurement, the method comprising:
- determining whether a string of text contained within the electronic document contains 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;
providing a list of actions that may 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 a selection of an action from the list of actions; and
generating a converted number by converting the number from the source unit of measure to the destination unit of measure identified by the selected action.
2 Assignments
0 Petitions
Accused Products
Abstract
A method, system, and apparatus are provided for converting numbers between different units of measurement. 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 having an associated unit name. If the string of text includes a number having an associated unit name, the number is semantically labeled with schema information that identifies the unit name as a source unit of measurement. When a selection is received of the number or an indication that the number is labeled with schema information, a list of actions may be provided identifying conversion options available for the number. One of the conversion options may then be selected resulting in the conversion of the selected number 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.
-
Citations
22 Claims
-
1. In a system for creating and editing an electronic document, a method for converting a number between two systems of measurement, the method comprising:
-
determining whether a string of text contained within the electronic document contains 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;
providing a list of actions that may 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 a selection of an action from the list of actions; and
generating a converted number by converting the number from the source unit of measure to the destination unit of measure identified by the selected action. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)
-
-
14. In a system for creating and editing an electronic document, a method 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;
displaying the number and the unit name 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, providing a list of actions that may be performed on the number to convert the number to a destination unit of measure;
receiving 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;
generating a converted number by converting the value to the destination unit of measure identified by the selected action; and
replacing the number with the converted number in the string of text. - View Dependent Claims (15, 16, 17, 18, 19)
-
-
20. A system 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, and 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;
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, providing a list of actions that may be performed on the number to convert the number to a destination unit of measure, 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. - View Dependent Claims (21, 22)
-
Specification