def __get_verb(counts):
cursor = CONN.cursor()<EOL>check_query = "<STR_LIT>"<EOL>cursor.execute(check_query)<EOL>check_result = cursor.fetchall()<EOL>id_list = []<EOL>for row in check_result:<EOL><INDENT>id_list.append(row[<NUM_LIT:0>])<EOL><DEDENT>rand = random.randint(<NUM_LIT:1>, counts['<STR_LIT>'])<EOL>while rand not in id_list:<EOL><INDENT>rand = random.randint(<NUM_LIT:1>, counts['<STR_LIT>'])<EOL><DEDENT>query = "<STR_LIT>".format(rand)<EOL>cursor.execute(query)<EOL>result = cursor.fetchone()<EOL>return result[<NUM_LIT:1>]<EOL>
Let's fetch a VERB
    :param counts: