class_docstr: Clean examples according to rules
code: def _parse_opts(self):
      self.src_eq_tgt = self.opts.src_eq_tgt
      self.same_char = self.opts.same_char
      self.same_word = self.opts.same_word
      self.scripts_ok = self.opts.scripts_ok
      self.scripts_nok = self.opts.scripts_nok
      self.src_tgt_ratio = self.opts.src_tgt_ratio
      self.avg_tok_min = self.opts.avg_tok_min
      self.avg_tok_max = self.opts.avg_tok_max
      self.langid = self.opts.langid
      assert (
          self.scripts_ok == [] or self.scripts_nok == []
      ), "Choose either scripts to be included or excluded"
  
file_path: OpenNMT-py/onmt/transforms/clean.py
imports: from onmt.transforms import register_transform
  from .transform import Transform
  from onmt.utils.logging import logger
  import fasttext
  import os
  import urllib.request
  import regex
label_desc: Use image node_id 3 for calling the CleanTransform obj's underlying member method code with example usage: obj._parse_opts() without return types