extraction function for mention and tag  finished.