8. A computer system for extraction and enrichment of a procedure from an unstructured text document, comprising: one or more processors, one or more computer-readable memories, one or more computer-readable tangible storage devices, and program instructions stored on at least one of the one or more storage devices for execution by at least one of the one or more processors via at least one of the one or more memories, wherein the computer system is capable of performing a method comprising: identifying a potential location of a procedure in the unstructured text document; detecting a beginning boundary and an end boundary associated with the identified potential location of the procedure; validating a text associated with the identified potential location of the procedure in the unstructured text document; determining an intent from the identified potential location of the procedure based on at least one of the beginning boundary, the end boundary, a surrounding text associated with the identified potential location of the procedure, a context associated with the unstructured text document, and a title of the unstructured text document; and enriching the procedure based on the determined intent; identifying a plurality of paths in the unstructured text document that lead to a same step in the procedure, wherein the identified plurality of paths are located outside the identified beginning boundary and the identified end boundary; and annotating the identified plurality of paths, wherein annotating the identified plurality of paths comprises determining an input/output relation of the identified plurality of paths and storing the determined input/output relation inside the unstructured text document and in a database.
12. The computer system of claim 8 , wherein the determining the intent from the identified potential location of the procedure comprises analyzing at least one sentence preceding the detected beginning boundary and analyzing at least one sentence following the detected end boundary of the identified potential location of the procedure.