def gender_features(word):
    """ 
    Feature extractor for the name classifier
    
    The feature evaluated here is the last letter of a name
    feature name - "last_letter"
    """
    return {"last_letter": word[-1]}