The disclosure is directed to written content generation. A method for generating written content in an application in accordance with an embodiment includes: receiving a query from a user; importing data from at least one data source in response to the query; ranking the imported data based on a plurality of ranking factors to determine a relevance of the imported data; automatically generating written content using at least a portion of the imported data based on the determined relevance of the imported data; and automatically customizing the written content based on a file format of the application.
Please help me write a proper abstract based on the patent claims. CLAIM: 1. A method for generating written content in an application, comprising: receiving a query from a user; importing data from at least one data source in response to the query; ranking the imported data based on a plurality of ranking factors to determine a relevance of the imported data; automatically generating written content using at least a portion of the imported data based on the determined relevance of the imported data; and automatically customizing the written content based on a file format of the application. 2. The method of claim 1, further comprising: inputting using defined metrics via a user interface; and ranking the imported data based at least on the user defined metrics. 3. The method of claim 2, further comprising: setting a scope of the data to be imported via the user interface. 4. The method of claim 1, wherein the at least one data source includes at least one of: at least one trusted website, at least one internal knowledge management system, and at least one external knowledge management system. 5. The method of claim 1, wherein automatically generating written content is performed by a narrative science engine. 6. The method of claim 1, wherein the method is performed by a plug-in or macro of the application. 7. The method of claim 1, wherein the at least one data source includes at least one website selected from a list of trusted websites. 8. A system for performing a method for generating written content in an application by performing actions including: receiving a query from a user; importing data from at least one data source in response to the query; ranking the imported data based on a plurality of ranking factors to determine a relevance of the imported data; automatically generating written content using at least a portion of the imported data based on the determined relevance of the imported data; and automatically customizing the written content based on a file format of the application. 9. The system of claim 8, wherein the method further comprises: inputting using defined metrics via a user interface; and ranking the imported data based at least on the user defined metrics. 10. The system of claim 9, wherein the method further comprises: setting a scope of the data to be imported via the user interface. 11. The system of claim 8, wherein the at least one data source includes at least one of: at least one trusted website, at least one internal knowledge management system, and at least one external knowledge management system. 12. The system of claim 8, wherein automatically generating written content is performed by a narrative science engine. 13. The system of claim 8, wherein the method is performed by a plug-in or macro of the application. 14. A computer program product comprising program code embodied in at least one computer-readable storage medium, which when executed, enables a computer system to implement a method for generating written content in an application, the method comprising: receiving a query from a user; importing data from at least one data source in response to the query; ranking the imported data based on a plurality of ranking factors to determine a relevance of the imported data; automatically generating written content using at least a portion of the imported data based on the determined relevance of the imported data; and automatically customizing the written content based on a file format of the application. 15. The computer program product of claim 14, further comprising: inputting using defined metrics via a user interface; and ranking the imported data based at least on the user defined metrics. 16. The computer program product of claim 15, further comprising: setting a scope of the data to be imported via the user interface. 17. The computer program product of claim 14, wherein the at least one data source includes at least one of: at least one trusted website, at least one internal knowledge management system, and at least one external knowledge management system. 18. The computer program product of claim 14, wherein automatically generating written content is performed by a narrative science engine. 19. The computer program product of claim 14, wherein the method is performed by a plug-in or macro of the application. 20. The computer program product of claim 14, wherein the at least one data source includes at least one website selected from a list of trusted websites.