8. A computer program product comprising: a non-transitory computer-readable storage medium having computer-readable program code embodied therewith, the computer-readable program code comprising computer-readable program code configured to: receive a plurality of electronic documents, wherein each electronic document is arranged according to a different, respective format comprising a plurality of headers; identify a properties file associated with one of the electronic documents, the properties file defining a particular header of the respective format in the one electronic document, an action corresponding to a text portion associated with the particular header, and an extension class; instantiate a preprocessor for parsing the one electronic document based on the extension class, wherein the preprocessor is configured to parse only electronic documents arranged using the respective format; parse the one electronic document to identify the particular header using the preprocessor; upon identifying the text portion associated with the particular header, perform the action to the text portion by assigning the text portion to a formatting element of a normalized format; and store the text portion into a natural language processing (NLP) object based on the formatting element of the normalized format, wherein text in the NLP object is arranged based on the normalized format.
8. A computer program product comprising: a non-transitory computer-readable storage medium having computer-readable program code embodied therewith, the computer-readable program code comprising computer-readable program code configured to: receive a plurality of electronic documents, wherein each electronic document is arranged according to a different, respective format comprising a plurality of headers; identify a properties file associated with one of the electronic documents, the properties file defining a particular header of the respective format in the one electronic document, an action corresponding to a text portion associated with the particular header, and an extension class; instantiate a preprocessor for parsing the one electronic document based on the extension class, wherein the preprocessor is configured to parse only electronic documents arranged using the respective format; parse the one electronic document to identify the particular header using the preprocessor; upon identifying the text portion associated with the particular header, perform the action to the text portion by assigning the text portion to a formatting element of a normalized format; and store the text portion into a natural language processing (NLP) object based on the formatting element of the normalized format, wherein text in the NLP object is arranged based on the normalized format. 9. The computer program product of claim 8 , wherein the properties file is one of a plurality of properties files, wherein each properties file is associated with one of the respective formats of the electronic documents.