langtest.transform.sensitivity#

Classes

AddNegation()

A class for negating sensitivity-related phrases in the input text.

AddToxicWords()

A class for handling sensitivity-related phrases in the input text, specifically related to toxicity.

BaseSensitivity()

Abstract base class for implementing sensitivity measures.

SensitivityTestFactory(data_handler[, tests])

A class for performing Sensitivity tests on a given dataset.