class_docstr: :class:`BasePreprocessor` to input handle data.
  
  A preprocessor should be used in two steps. First, `fit`, then,
  `transform`. `fit` collects information into `context`, which includes
  everything the preprocessor needs to `transform` together with other
  useful information for later use. `fit` will only change the
  preprocessor's inner state but not the input data. In contrast,
  `transform` returns a modified copy of the input data without changing
  the preprocessor's inner state.
docstr: Transform input data to expected manner.
  
  This method is an abstract base method, need to be
  implemented in the child class.
  
  :param data_pack: :class:`DataPack` object to be transformed.
  :param verbose: Verbosity.
      or list of text-left, text-right tuples.
docstr_tok: ["Transform","input","data","to","expected","manner",".","This","method","is","an","abstract","base","method",",","need","to","be","implemented","in","the","child","class",".",":","param","data_pack",":",":","class",":","`","DataPack","`","object","to","be","transformed",".",":","param","verbose",":","Verbosity",".","or","list","of","text-left",",","text-right","tuples","."]
code: def transform(
      self, data_pack: "mz.DataPack", verbose: int = 1
  ) -> "mz.DataPack":
      """
      Transform input data to expected manner.
  
      This method is an abstract base method, need to be
      implemented in the child class.
  
      :param data_pack: :class:`DataPack` object to be transformed.
      :param verbose: Verbosity.
          or list of text-left, text-right tuples.
      """
  
file_path: MatchZoo/matchzoo/engine/base_preprocessor.py
imports: import abc
  import functools
  import typing
  from pathlib import Path
  import dill
  import matchzoo
label_desc: Use image node_id 4 for calling the BasePreprocessor obj's underlying member method code with example usage: obj.transform(data_pack, verbose) without return types