get_objects function

Extract objects of prepositional phrases in row and column labels