class_docstr: A recipe for building an NLP adversarial attack from the literature.
class_docstr_tok: ["A","recipe","for","building","an","NLP","adversarial","attack","from","the","literature","."]
docstr: Creates pre-built :class:`~textattack.Attack` that correspond to
  attacks from the literature.
  
  Args:
      model_wrapper (:class:`~textattack.models.wrappers.ModelWrapper`):
          :class:`~textattack.models.wrappers.ModelWrapper` that contains the victim model and tokenizer.
          This is passed to :class:`~textattack.goal_functions.GoalFunction` when constructing the attack.
      kwargs:
          Additional keyword arguments.
  Returns:
      :class:`~textattack.Attack`
docstr_tok: ["Creates","pre-built",":","class",":","`","~textattack.Attack","`","that","correspond","to","attacks","from","the","literature",".","Args",":","model_wrapper","(",":","class",":","`","~textattack.models.wrappers.ModelWrapper","`",")",":",":","class",":","`","~textattack.models.wrappers.ModelWrapper","`","that","contains","the","victim","model","and","tokenizer",".","This","is","passed","to",":","class",":","`","~textattack.goal_functions.GoalFunction","`","when","constructing","the","attack",".","kwargs",":","Additional","keyword","arguments",".","Returns",":",":","class",":","`","~textattack.Attack","`"]
code: def build(model_wrapper, **kwargs):
      """Creates pre-built :class:`~textattack.Attack` that correspond to
      attacks from the literature.
  
      Args:
          model_wrapper (:class:`~textattack.models.wrappers.ModelWrapper`):
              :class:`~textattack.models.wrappers.ModelWrapper` that contains the victim model and tokenizer.
              This is passed to :class:`~textattack.goal_functions.GoalFunction` when constructing the attack.
          kwargs:
              Additional keyword arguments.
      Returns:
          :class:`~textattack.Attack`
      """
      raise NotImplementedError()
  
imports: from abc import ABC, abstractmethod
  from textattack import Attack
label_desc: Use image node_id 1 for calling the AttackRecipe obj's underlying member method code with example usage: obj.build(model_wrapper) without return types