code: def matchingPositions(self, tokenArray):
          '''Returns a list of positions (indexes) in the tokenArray where this WordTemplate
             matches (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)
          matchingPos = []
          for i in range( len(tokenArray) ):
              token = tokenArray[i]
              if self.matches(token):
                  matchingPos.append( i )
          return matchingPof matchingPositions(self, tokenArray):
          '''Returns a list of positions (indexes) in the tokenArray where this WordTemplate
             matches (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)
          matchingPos = []
          for i in range( len(tokenArray) ):
              token = tokenArray[i]
              if self.matches(token):
                  matchingPos.append( i )
          return matchingPos
docs: Returns a list of positions (indexes) in the tokenArray where this WordTemplate
             matches (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;