Convert `name` to the ASCII vector.

    Example:
        >>> name_to_vector("ing. Franta Putšálek")
        ['putsalek', 'franta', 'ing']

    Args:
        name (str): Name which will be vectorized.

    Returns:
        list: Vector created from name.

def name_to_vector(name):
    """
    Convert `name` to the ASCII vector.

    Example:
        >>> name_to_vector("ing. Franta Putšálek")
        ['putsalek', 'franta', 'ing']

    Args:
        name (str): Name which will be vectorized.

    Returns:
        list: Vector created from name.
    """
    if not isinstance(name, unicode):
        name = name.decode("utf-8")

    name = name.lower()
    name = unicodedata.normalize('NFKD', name).encode('ascii', 'ignore')
    name = "".join(filter(lambda x: x.isalpha() or x == " ", list(name)))

    return sorted(name.split(), key=lambda x: len(x), reverse=True)