~textattack.goal_functions.GoalFunction
determines both the conditions under which the attack is successful (in terms of the model outputs) and the heuristic score that we want to maximize when searching for the solution.
textattack.goal_functions.GoalFunction
textattack.goal_functions.classification.ClassificationGoalFunction
textattack.goal_functions.classification.TargetedClassification
textattack.goal_functions.classification.UntargetedClassification
textattack.goal_functions.classification.InputReduction
textattack.goal_functions.text.TextToTextGoalFunction
textattack.goal_functions.text.MinimizeBleu
textattack.goal_functions.text.NonOverlappingOutput