def to_value_list(original_strings, corenlp_values=None):
    """Convert a list of strings to a list of Values

    Args:
        original_strings (list[basestring])
        corenlp_values (list[basestring or None])
    Returns:
        list[Value]
    """
    assert isinstance(original_strings, (list, tuple, set))
    if corenlp_values is not None:
        assert isinstance(corenlp_values, (list, tuple, set))
        assert len(original_strings) == len(corenlp_values)
        return list(set(to_value(x, y) for (x, y)
                        in zip(original_strings, corenlp_values)))
    else:
        return list(set(to_value(x) for x in original_strings))
def to_value_list ( original_strings , corenlp_values = None ) : assert isinstance ( original_strings , ( list , tuple , set ) ) if corenlp_values is not None : assert isinstance ( corenlp_values , ( list , tuple , set ) ) assert len ( original_strings ) == len ( corenlp_values ) return list ( set ( to_value ( x , y ) for ( x , y ) in zip ( original_strings , corenlp_values ) ) ) else : return list ( set ( to_value ( x ) for x in original_strings ) )
Convert a list of strings to a list of Values

    Args:
        original_strings (list[basestring])
        corenlp_values (list[basestring or None])
    Returns:
        list[Value]