Claims
- 1. For an electronic system for creating and editing an electronic document, a computer-implemented method for providing a plurality of actions in association with a string in the electronic document, the method comprising the steps of:
recognizing the string as a semantic category; determining an action ID associated with the semantic category; determining a plurality of action plug-ins associated with the semantic category; and for each of the plurality of action plug-ins, determining whether a class ID matches the action ID and, if so, then displaying an action for the matching action plug-in in a semantic category menu.
- 2. The method of claim 1 further comprising the steps of:
determining that the action has been selected and performing the action defined by the action plug-in on the electronic document.
- 3. The method of claim 1 wherein the semantic category menu is displayed in response to a user selecting the semantic category.
- 4. A computer-readable medium having computer-executable instructions for performing the steps recited in claim 1.
- 5. A method in a computer system for displaying on a display device a semantic category action menu, the method comprising the steps of:
receiving an indication from a user that the semantic category action menu for a semantic category is to be displayed; determining a plurality of actions to be displayed in the semantic category action menu; and displaying on the display device the semantic category action menu.
- 6. The method of claim 5 wherein the step of determining a plurality of actions to be displayed in the semantic category action menu comprises:
determining an action ID for the semantic category; determining a class ID for an action plug-in associated with the semantic category; and if the action ID matches the class ID, then determining that an action defined by the action plug-in is to be displayed in the semantic category action menu.
- 7. A computer-readable medium having computer-executable instructions for performing the steps recited in claim 6.
- 8. The method of claim 6 further comprising the steps of:
receiving an indication that the action has been selected by the user; and performing the action defined by the action plug-in.
- 9. The method of claim 6 wherein the step of determining an action ID for the semantic category comprises receiving an action ID from a recognizer plug-in associated with the semantic category.
- 10. The method of claim 6 wherein the step of determining an action ID for the semantic category comprises searching a database for the action ID associated with the semantic category.
- 11. A computer system for displaying on a display device a semantic category action menu in an electronic document of an application program module, the system comprising:
a recognizer plug-in for recognizing the semantic category for a string in the electronic document; and an action plug-in for providing an action in association with the semantic category, wherein the action plug-in comprises a class ID, wherein the class ID identifies the action plug-in as an authorized action plug-in for the semantic category.
- 12. The system of claim 11 wherein the recognizer plug-in further comprises an action ID and wherein the class ID matches the action ID to identify the action plug-in as an authorized action plug-in for the semantic category.
- 13. The system of claim 12 wherein the recognizer plug-in sends the action ID to the application program module so that the application program module determine whether the action plug-in is an authorized action plug-in by comparing the action ID to the class ID to determine whether they match.
- 14. The system of claim 11 wherein an action ID associated with the semantic category is stored in a database and wherein the class ID is matched with the action ID to identify the action plug-in as an authorized action plug-in for the semantic category.
- 15. For an electronic system for creating and editing an electronic document, a computer-implemented method for providing a plurality of actions in association with a string in the electronic document, the method comprising the steps of:
determining that the electronic document has a tag identifying a recognizer plug-in and an action plug-in associated with the electronic document; activating the recognizer plug-in and action plug-in identified by the tag; recognizing semantic categories using the activated recognizer plug-in; and providing actions for the recognized semantic categories using the activated action plug-in.
- 16. The method of claim 15 further comprising the steps of:
disabling any action plug-in and any recognizer plug-in that is not identified by the tag while the electronic document is being viewed.
- 17. The method of claim 16 wherein the electronic document is a webpage.
- 18. The method of claim 17 wherein the tag is an HTML tag.
REFERENCE TO RELATED APPLICATIONS
[0001] This is a continuation-in-part of U.S. patent application Ser. No. 09/588,411, entitled “METHOD AND SYSTEM FOR SEMANTICALLY LABELING STRINGS AND PROVIDING ACTIONS BASED ON SEMANTICALLY LABELED STRINGS”, filed Jun. 6, 2000, which is incorporated by reference herein.
Continuation in Parts (1)
|
Number |
Date |
Country |
Parent |
09588411 |
Jun 2000 |
US |
Child |
09906552 |
Jul 2001 |
US |