Algorithms for Knowledge Extraction Using Relation Identification: A New Approach