def extract_mentions(self):
if not hasattr(self, "<STR_LIT>"):<EOL><INDENT>return set()<EOL><DEDENT>mentions = re.findall(r'<STR_LIT>', self.raw_content)<EOL>if not mentions:<EOL><INDENT>return set()<EOL><DEDENT>mentions = {s.split('<STR_LIT:;>')[<NUM_LIT:1>].strip('<STR_LIT>') for s in mentions}<EOL>mentions = {s for s in mentions}<EOL>return mentions<EOL>
Extract mentions from an entity with ``raw_content``.

:return: set