class_docstr: Detect samples in the test data that appear also in training data.
  
  Parameters
  ----------
  {text_normalization_params:1*indent}
  n_samples : int , default: 10_000_000
      number of samples to use for this check.
  n_to_show : int , default: 10
      number of samples that appear in test and training data to show.
  random_state : int, default: 42
      random seed for all check internals.
  {max_text_length_for_display_param:1*indent}
class_docstr_tok: ["Detect","samples","in","the","test","data","that","appear","also","in","training","data",".","Parameters","--","--","--","--","--","{","text_normalization_params:1","*","indent","}","n_samples",":","int",",","default",":","10_000_000","number","of","samples","to","use","for","this","check",".","n_to_show",":","int",",","default",":","10","number","of","samples","that","appear","in","test","and","training","data","to","show",".","random_state",":","int",",","default",":","42","random","seed","for","all","check","internals",".","{","max_text_length_for_display_param:1","*","indent","}"]
code: def _text_normalization_kwargs(self):
      return {
          "ignore_case": self.ignore_case,
          "ignore_whitespace": self.ignore_whitespace,
          "normalize_uni": self.normalize_unicode,
          "remove_punct": self.remove_punctuation,
          "remove_stops": self.remove_stopwords,
      }
  
file_path: deepchecks/deepchecks/nlp/checks/train_test_validation/train_test_sample_mix.py
imports: import typing
  import numpy
  import pandas
  from deepchecks.core import CheckResult
  from deepchecks.core.errors import DeepchecksValueError
  from deepchecks.nlp import Context, TrainTestCheck
  from deepchecks.nlp._shared_docs import docstrings
  from deepchecks.nlp.text_data import TextData
  from deepchecks.nlp.utils.text import cut_string, hash_samples, normalize_samples
  from deepchecks.utils.abstracts.train_test_samples_mix import TrainTestSamplesMixAbstract
  from deepchecks.utils.other import to_ordional_enumeration
  from deepchecks.utils.strings import format_list, format_percent, truncate_string
label_desc: Use image node_id 2 for calling the TrainTestSamplesMix obj's underlying member method code with example usage: obj._text_normalization_kwargs() and returns: dict