lisc.analysis.words.get_all_values

lisc.analysis.words.get_all_values(data, attribute, unique=False)[source]

Get all values for a field of interest.

Parameters
dataWords or list of Articles

Data to extract attribute of interest from.

attributestr

The attribute to extract from the data objects.

uniquebool, optional, default: False

Whether to restrict extracted values to only unique elements.

Returns
valueslist

Extracted values from across all the data objects.