×

Method, system, and apparatus for converting numbers between measurement systems based upon semantically labeled strings

  • US 7,325,194 B2
  • Filed: 05/07/2002
  • Issued: 01/29/2008
  • Est. Priority Date: 05/07/2002
  • Status: Expired due to Fees
First Claim
Patent Images

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 all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×