code: def matchingTokens(self, tokenArray):
          '''Returns a list of tokens in the tokenArray that match this WordTemplate (the 
             method self.matches(token) returns True). Returns an empty list if no matching 
             tokens appear in the input list.
  
             Parameters
             ----------
             tokenArray: list of word tokens;
                  A list of word tokens along with their pyvabamorf's analyses;
          '''
          assert isinstance(tokenArray, list), "tokenArray should be list "+str(tokenArray)
          matchingTok = []
          for i in range( len(tokenArray) ):
              token = tokenArray[i]
              if self.matches(token):
                  matchingTok.append( token )
          return matchingTof matchingTokens(self, tokenArray):
          '''Returns a list of tokens in the tokenArray that match this WordTemplate (the 
             method self.matches(token) returns True). Returns an empty list if no matching 
             tokens appear in the input list.
  
             Parameters
             ----------
             tokenArray: list of word tokens;
                  A list of word tokens along with their pyvabamorf's analyses;
          '''
          assert isinstance(tokenArray, list), "tokenArray should be list "+str(tokenArray)
          matchingTok = []
          for i in range( len(tokenArray) ):
              token = tokenArray[i]
              if self.matches(token):
                  matchingTok.append( token )
          return matchingTok
docs: Returns a list of tokens in the tokenArray that match this WordTemplate (the 
             method self.matches(token) returns True). Returns an empty list if no matching 
             tokens appear in the input list.
  
             Parameters
             ----------
             tokenArray: list of word tokens;
                  A list of word tokens along with their pyvabamorf's analyses;