class_docstr: An abstract class that represents constraints on adversial text
  examples. Constraints evaluate whether transformations from a
  ``AttackedText`` to another ``AttackedText`` meet certain conditions.
  
  Args:
      compare_against_original (bool): If `True`, the reference text should be the original text under attack.
          If `False`, the reference text is the most recent text from which the transformed text was generated.
          All constraints must have this attribute.
class_docstr_tok: ["An","abstract","class","that","represents","constraints","on","adversial","text","examples",".","Constraints","evaluate","whether","transformations","from","a","``","AttackedText","``","to","another","``","AttackedText","``","meet","certain","conditions",".","Args",":","compare_against_original","(","bool",")",":","If","`","True","`",",","the","reference","text","should","be","the","original","text","under","attack",".","If","`","False","`",",","the","reference","text","is","the","most","recent","text","from","which","the","transformed","text","was","generated",".","All","constraints","must","have","this","attribute","."]
docstr: Filters ``transformed_texts`` based on which transformations fulfill
  the constraint. Calls ``check_constraint``
  
  Args:
      transformed_texts (list[AttackedText]): The candidate transformed ``AttackedText``
      reference_texts (AttackedText): The ``AttackedText`` to compare against.
docstr_tok: ["Filters","``","transformed_texts","``","based","on","which","transformations","fulfill","the","constraint",".","Calls","``","check_constraint","``","Args",":","transformed_texts","(","list","[","AttackedText","]",")",":","The","candidate","transformed","``","AttackedText","``","reference_texts","(","AttackedText",")",":","The","``","AttackedText","``","to","compare","against","."]
code: def _check_constraint_many(self, transformed_texts, reference_text):
      """Filters ``transformed_texts`` based on which transformations fulfill
      the constraint. Calls ``check_constraint``
  
      Args:
          transformed_texts (list[AttackedText]): The candidate transformed ``AttackedText``
          reference_texts (AttackedText): The ``AttackedText`` to compare against.
      """
      return [
          transformed_text
          for transformed_text in transformed_texts
          if self._check_constraint(transformed_text, reference_text)
      ]
  
file_path: TextAttack/textattack/constraints/constraint.py
imports: from abc import ABC, abstractmethod
  import textattack
  from textattack.shared.utils import ReprMixin
label_desc: Use image node_id 3 for calling the Constraint obj's underlying member method code with example usage: obj._check_constraint_many(transformed_texts, reference_text) and returns: unknown