Information Extraction (IE) from Documents Algorithm