entity extraction from docs