1. A computer program product for analyzing a document, the computer program product comprising a non-transitory computer readable storage medium having program code embodied therewith, the program code executable by a device to: receive, by the device, the document; extract, by the device, text of the document from a native form of the document, wherein the text of the document comprises a glossary including a lexical ontology; separate, by the device, the document into two or more physical sections; identify, by the device, using text analytics on the lexical ontology of the glossary and without user-input, one or more directives within the text; generate, by the device, based on the one or more directives, one or more annotations within the two or more physical sections; compare, by the device, the annotations to identify duplicate annotations and conflicting annotations within the text; and display, by the device, the annotations and results of the comparison of the annotations in a searchable interface.
1. A computer program product for analyzing a document, the computer program product comprising a non-transitory computer readable storage medium having program code embodied therewith, the program code executable by a device to: receive, by the device, the document; extract, by the device, text of the document from a native form of the document, wherein the text of the document comprises a glossary including a lexical ontology; separate, by the device, the document into two or more physical sections; identify, by the device, using text analytics on the lexical ontology of the glossary and without user-input, one or more directives within the text; generate, by the device, based on the one or more directives, one or more annotations within the two or more physical sections; compare, by the device, the annotations to identify duplicate annotations and conflicting annotations within the text; and display, by the device, the annotations and results of the comparison of the annotations in a searchable interface. 6. The computer-program product of claim 1 , wherein the program code is further executable by the device to: classify, by the device, the annotations into groups based on one or more attributes of the directives; and wherein the program code compares the annotations based on the groups.