×

Method, system, and apparatus for converting dates between calendars and languages based upon semantically labeled strings

  • US 7,707,496 B1
  • Filed: 05/09/2002
  • Issued: 04/27/2010
  • Est. Priority Date: 05/09/2002
  • Status: Active Grant
First Claim
Patent Images

1. In a system for creating and editing an electronic document, a method for converting a date between calendars and human languages, the method comprising:

  • registering at least one date conversion component with the system;

    receiving a list of actions capable of being performed by the at least one date conversion component;

    determining whether a string of text contained within the electronic document contains a date;

    in response to determining that the string of text includes a date, semantically labeling the date within the electronic document with schema information identifying a calendar and a human language used to express the date wherein identifying comprises associating the string of text with an inline eXtensible Markup Language (XML) tag belonging to at least one semantic category that indicates that the date is convertible and that the semantic categories are stored in the electronic document, and the schema information including a format indices indicating a format the date is written in, a calendar type indices indicating the calendar the date is written in, a language indices identifying the human language the date is written in, and properties identifying a year, a month number, and a day-of-month for the date, wherein the semantic label further includes the list of actions capable of being performed by the at least one date conversion component on the string of text determined as including a date;

    providing an indication that the date is semantically labeled;

    identifying a plurality of enabled human languages;

    generating a plurality of menu item corresponding to the list of actions for each of the plurality of enabled languages;

    determining a current user interface language setting;

    providing the list of actions as a plurality of menu items corresponding to the list of actions for the current user interface language setting that may be performed on the date for converting the date in the semantically labeled string of text to another calendar, the list of actions identified based upon the schema information, wherein the application is operative to permit the editing of the electronic document in at least one of the plurality of enabled human languages, and wherein determining whether a string of text contained within the electronic document contains a date comprises determining whether a string of text contained within the electronic document contains a date expressed in one of the enabled human languages;

    receiving a selection of an action from the list of actions; and

    generating a converted date by converting the date to the other calendar identified by the selected action, wherein generating the converted date comprises;

    sending the schema information and the date to the at least one date conversion component, andreceiving the converted date from the at least one date conversion component.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×