parse named entities