System and method for in-context document composition using subject metadata queries
Embodiments of systems and method for assistance in document composition in the context of a document editor are disclosed. Specifically, embodiments may utilize a document definition syntax that allows a user to define a document that includes a set of document sections with identifiers and definitions. A client document compositor may be integrated with the document editor and communicate with a document composition platform to obtain a data section for substitution in the document in place of a document section.
1 . A non-transitory computer readable medium, comprising instructions for:
generating a document, the document comprising a document section, the document section including a subject definition for a subject or a metadata definition for metadata, a token identifying the document section as a subject section or a metadata section, and a unique identifier that uniquely identifies the document section in the document as being associated with the subject or the metadata;
generating a request to a document analytics engine, the request comprising at least one of the subject definition or the metadata definition for the document section wherein the document analytics engine is adapted to generate a corresponding data section based on the at least one of the subject definition or the metadata definition for the document section;
selecting the data section from a set of data sections, wherein a user is presented with the set of data sections in association with the unique identifier of the document section and selects the data section from the set of data sections; and
receiving the selected data section at a document editor and substituting the received data section in place of the subject definition or the metadata definition of the document section associated with the unique identifier in the document.
2 . The document editing system of claim 1 , wherein the metadata definition comprises a text string or an image.
3 . The document editing system of claim 2 , wherein the subject definition comprises a text string or an image.
4 . The document editing system of claim 3 , wherein the subject for the metadata definition is a text string or an image.
5 . The document editing system of claim 4 , wherein the document analytics engine is selected from a plurality of analytics engines.
6 . The document editing system of claim 5 , wherein the document analytics engine is selected based on a category or subject of the subject definition.
7 . A non-transitory computer readable medium, comprising instructions for:
generating a document, the document comprising a document section, the document section including a subject definition for a subject or a metadata definition for metadata, a token identifying the document section as a subject section or a metadata section, and a unique identifier that uniquely identifies the document section in the document as being associated with the subject or the metadata;
generating a request to a document analytics engine, the request comprising at least one of the subject definition or the metadata definition for the document section wherein the document analytics engine is adapted to generate a corresponding data section based on the at least one of the subject definition or the metadata definition for the document section;
selecting the data section from a set of data sections, wherein a user is presented with the set of data sections in association with the unique identifier of the document section and selects the data section from the set of data sections; and
receiving the selected data section at a document editor and substituting the received data section in place of the subject definition or the metadata definition of the document section associated with the unique identifier in the document.
8 . The non-transitory computer readable medium of claim 7 , wherein the metadata definition comprises a text string or image.
9 . The non-transitory computer readable medium of claim 8 , wherein the subject definition comprises a text string or image Previously Presented.
10 . The non-transitory computer readable medium of claim 9 , wherein the subject for the metadata definition is a text string or image Previously Presented.
11 . The non-transitory computer readable medium of claim 10 , wherein the document analytics engine is selected from a plurality of analytics engines.
12 . The non-transitory computer readable medium of claim 11 , wherein the document analytics engine is selected based on a category or subject of the subject definition.
13 . A method, comprising:
generating a document, the document comprising a document section, the document section including a subject definition for a subject or a metadata definition for metadata, a token identifying the document section as a subject section or a metadata section, and a unique identifier that uniquely identifies the document section in the document as being associated with the subject or the metadata;
generating a request to a document analytics engine, the request comprising at least one of the subject definition or the metadata definition for the document section wherein the document analytics engine is adapted to generate a corresponding data section based on the at least one of the subject definition or the metadata definition for the document section;
selecting the data section from a set of data sections, wherein a user is presented with the set of data sections in association with the unique identifier of the document section and selects the data section from the set of data sections; and
receiving selected the data section at a document editor and substituting the received data section in place of the subject definition or the metadata definition of the document section associated with the unique identifier in the document.
14 . The method of claim 13 , wherein the metadata definition comprises a text string or image.
15 . The method of claim 14 , wherein the subject definition comprises a text string or image.
16 . The method of claim 15 , wherein the subject for the metadata definition is a text string or image category.
17 . The method of claim 16 , wherein the document analytics engine is selected from a plurality of analytics engines.
18 . The method of claim 17 , wherein the document analytics engine is selected based on a category or subject of the subject definition.