@_save_args<EOL><INDENT>def add_entity(self, name, lines, reload_cache=False):<DEDENT>
Entity.verify_name(name)<EOL>self.entities.add(Entity.wrap_name(name), lines, reload_cache)<EOL>self.padaos.add_entity(name, lines)<EOL>self.must_train = True<EOL>
Adds an entity that matches the given lines.

Example:
    self.add_intent('weather', ['will it rain on {weekday}?'])
    self.add_entity('{weekday}', ['monday', 'tuesday', 'wednesday'])  # ...

Args:
    name (str): The name of the entity
    lines (list<str>): Lines of example extracted entities
    reload_cache (bool): Whether to refresh all of cache