def find_first_tag(tags, entity_type, after_index=-<NUM_LIT:1>):
for tag in tags:<EOL><INDENT>for entity in tag.get('<STR_LIT>'):<EOL><INDENT>for v, t in entity.get('<STR_LIT:data>'):<EOL><INDENT>if t.lower() == entity_type.lower() and tag.get('<STR_LIT>', <NUM_LIT:0>) > after_index:<EOL><INDENT>return tag, v, entity.get('<STR_LIT>')<EOL><DEDENT><DEDENT><DEDENT><DEDENT>return None, None, None<EOL>
Searches tags for entity type after given index

    Args:
        tags(list): a list of tags with entity types to be compaired too entity_type
        entity_type(str): This is he entity type to be looking for in tags
        after_index(int): the start token must be greaterthan this.

    Returns:
        ( tag, v, confidence ):
            tag(str): is the tag that matched
            v(str): ? the word that matched?
            confidence(float): is a mesure of accuacy.  1 is full confidence and 0 is none.