'Returns a dictionary with character bigrams and suffix.
For example, "Felix" => {"Fe":1, "el":1, "li":1, "ix":1, "ix$":1, 5:1}'

def vector(self, name):

    v = chngrams(name, n=2)
    v = count(v)
    v[(name[(-2):] + '$')] = 1
    v[len(name)] = 1
    return v
