Patent ID: 7739588

Claim:
A computer-readable medium which stores a set of instructions which when executed performs a method for at least one of creating, editing and viewing an electronic document, actions on a string of text or data in the electronic document, the method comprising: receiving a text string that includes at least one annotated portion and at least one unannotated portion with markup language data in a recognizer dynamic link library (DLL); parsing markup language data associated with the at least one annotated portion to assist the recognizer DLL TO DETERMINE AT LEAST ONE LABEL for the at least one unannotated portion of the text string by: comparing the elements of the markup language data with a plurality of stored markup language elements associated with stored labels to determine a match; and if a one or more markup language elements matches one or more stored markup language elements associated with stored labels, then labeling the text string with the associated stored label of the matched one or more markup language elements; transmitting the text string, and the markup language data, and the one or more labels associated with at the least one annotated and the at least one unannotated portions to a plurality of action plug-ins, wherein the action plug-ins are determined based on the at least one label; determining, in the action plug-ins, at least one action based on the markup language data and the at least one label; passing the at least one action to an application program module for displaying the at least one action in association with the text string; and displaying the at least one action in association with the text string.