TextData.validate_textdata_compatibility#

TextData.validate_textdata_compatibility(other_text_data: TextData) bool[source]#

Verify that all provided datasets share same label name and task types.

Parameters
other_text_dataTextData

The other dataset TextData object to compare with.

Returns
bool

True if provided dataset share same label name and task types.