class_docstr: Remove all combining characters like diacritical marks from tokens
  
  Args:
      diacritical: whether to remove diacritical signs or not
          diacritical signs are something like hats and stress marks
      nums: whether to replace all digits with 1 or not
class_docstr_tok: ["Remove","all","combining","characters","like","diacritical","marks","from","tokens","Args",":","diacritical",":","whether","to","remove","diacritical","signs","or","not","diacritical","signs","are","something","like","hats","and","stress","marks","nums",":","whether","to","replace","all","digits","with","1","or","not"]
code: def __call__(self, tokens_batch, **kwargs):
      if self.filter_diacritical:
          tokens_batch = self.filter_diacritical(tokens_batch)
      if self.nums:
          tokens_batch = self.replace_nums(tokens_batch)
      return tokens_batch
  
file_path: DeepPavlov/deeppavlov/models/preprocessors/sanitizer.py
imports: import re
  import sys
  import unicodedata
  from deeppavlov.core.common.registry import register
  from deeppavlov.core.models.component import Component
label_desc: Use image node_id 4 for calling the Sanitizer obj's underlying member method code with example usage: obj.__call__(tokens_batch) and returns: tokens_batch