Prolifics interview question

Was asked to solve a entity extraction problem from documents.