Method and system for applying role based association to entities in textual documents - US Patent 9,772,996