def needs_column_encoding(mode):
    """
    Returns True, if an encoding mode needs a column word embedding vector, otherwise False
    """
    return mode in ["one-hot-column-centroid",
                    "unary-column-centroid",
                    "unary-column-partial",
                    "unary-random-dim"]