class_docstr: __init__()
  
  The Word Contextualizer.
  
  Takes a word embedding sequence and produces a context-aware word embedding sequence.
  `Refer this tutorial <https://nbviewer.jupyter.org/github/sidharthms/deepmatcher/blob/master/examples/matching_models.ipynb#2.1.1.-Word-Contextualizer>`__
  for details. Sub-classes that implement various options for this module are defined
  in :mod:`deepmatcher.word_contextualizers`.
class_docstr_tok: ["__init__","(",")","The","Word","Contextualizer",".","Takes","a","word","embedding","sequence","and","produces","a","context-aware","word","embedding","sequence",".","`","Refer","this","tutorial","<","https",":","\/\/nbviewer.jupyter.org\/github\/sidharthms\/deepmatcher\/blob\/master\/examples\/matching_models.ipynb","#","2.1.1.-Word-Contextualizer",">","`","__","for","details",".","Sub-classes","that","implement","various","options","for","this","module","are","defined","in",":","mod",":","`","deepmatcher.word_contextualizers","`","."]
docstr: Create a word contextualizer object.
  
  Args:
      arg (string or :mod:`deepmatcher.word_contextualizers` or callable):
          Same as the `word_contextualizer` argument to the constructor of
          :class:`AttrSummarizer`.
      **kwargs:
          Keyword arguments to the constructor of the WordContextualizer sub-class.
          For details on what these can be, please refer to the documentation of the
          sub-classes in :mod:`deepmatcher.word_contextualizers`.
code: def _create(cls, arg, **kwargs):
      r"""Create a word contextualizer object.
  
      Args:
          arg (string or :mod:`deepmatcher.word_contextualizers` or callable):
              Same as the `word_contextualizer` argument to the constructor of
              :class:`AttrSummarizer`.
          **kwargs:
              Keyword arguments to the constructor of the WordContextualizer sub-class.
              For details on what these can be, please refer to the documentation of the
              sub-classes in :mod:`deepmatcher.word_contextualizers`.
      """
      if isinstance(arg, six.string_types):
          if dm.word_contextualizers.RNN.supports_style(arg):
              wc = dm.word_contextualizers.RNN(arg, **kwargs)
          elif arg == "self-attention":
              wc = dm.word_contextualizers.SelfAttention(**kwargs)
          else:
              raise ValueError("Unknown Word Contextualizer name.")
      else:
          wc = _utils.get_module(WordContextualizer, arg)
  
      if wc is not None:
          wc.expect_signature("[AxBxC] -> [AxBxD]")
  
      return wc
  
imports: import copy
  import logging
  from collections import Mapping
  import dill
  import six
  import deepmatcher
  import torch
  import torch.nn
  from .None import _utils
  from ..data import MatchingDataset, MatchingIterator
  from ..runner import Runner
  from ..utils import Bunch, tally_parameters
label_desc: Use image node_id 1 for calling the WordContextualizer obj's underlying member method code with example usage: obj._create(cls, arg) and returns: wc