parameters: (self, pattern, str)
return_statement: return self.match(pattern, str, 0, 0, w2p, p2w)
docstring: :type pattern: str
          :type str: str
          :rtype: bool
docstring_summary: :type pattern: str
          :type str: str
          :rtype: bool
docstring_tokens: : type pattern : str : type str : str : rtype : bool
function: def wordPatternMatch(self, pattern, str):
          """
          :type pattern: str
          :type str: str
          :rtype: bool
          """
          w2p, p2w = {}, {}
          return self.match(pattern, str, 0, 0, w2p, p2w)
function_tokens: def wordPatternMatch ( self , pattern , str ) : w2p , p2w = { } , { } return self . match ( pattern , str , 0 , 0 , w2p , p2w )