1. A method for extraction and enrichment of a procedure from an unstructured text document, 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.
4. The method of claim 1 , wherein the validation of the text associated with the identified potential location of the procedure comprises at least one of a marking of the text associated with the identified location of the procedure or a discarding of the text associated with the identified location of the procedure.