def get_vectors(filename):
    """Opens a vector file and stores the vector in a dictionary.
    Args:
        filename: The name of a vector file.
    Returns:
        A dict object containing words as keys and vectors as values.
    """
    vector_dict = {}
    with open(filename) as f:
        next(f)
        for line in f:
            line = line.strip('\n').split()
            # Stores each word as key along with it's vector as value
            vector_dict[line[0]] = [float(i) for i in line[1:]]
    return vector_dict