'Requires:
field_name --the name of the first word in the string.
name --the changed name according to the dictionary.
line -- the string to parse.
Returns:
A string with a value for the type and label attributes
Logic:
The type of sequence--whether figure, graph, my-name, or
whatever--is represented by the second word in the string. Extract
and return.
SEQ Figure \* ARABIC'

def __sequence_func(self, field_name, name, line):

    fields = line.split()
    label = fields[1]
    my_string = ('%s<label>%s' % (name, label))
    return [None, None, my_string]
