TextData.calculate_builtin_properties#

TextData.calculate_builtin_properties(include_properties: Optional[List[str]] = None, ignore_properties: Optional[List[str]] = None, include_long_calculation_properties: bool = False, device: Optional[str] = None)[source]#

Calculate the default properties of the dataset.

Parameters
include_propertiesList[str], default None

The properties to calculate. If None, all default properties will be calculated. Cannot be used together with ignore_properties parameter.

ignore_propertiesList[str], default None

The properties to ignore. If None, no properties will be ignored. Cannot be used together with properties parameter.

include_long_calculation_propertiesbool, default False

Whether to include properties that may take a long time to calculate. If False, these properties will be ignored.

deviceint, default None

The device to use for the calculation. If None, the default device will be used.