code: def extendChainsInSentence( self, sentence, foundChains ):
          ''' Rakendab meetodit self.extendChainsInClause() antud lause igal osalausel.
          '''
          # 1) Preprocessing
          clauses = getClausesByClauseIDs( sentence )
  
          # 2) Extend verb chains in each clause
          allDetectedVerbChains = []
          for clauseID in clauses:
              clause = clauses[clauseID]
              self.extendChainsInClause(clause, clauseID, foundChainsf extendChainsInSentence( self, sentence, foundChains ):
          ''' Rakendab meetodit self.extendChainsInClause() antud lause igal osalausel.
          '''
          # 1) Preprocessing
          clauses = getClausesByClauseIDs( sentence )
  
          # 2) Extend verb chains in each clause
          allDetectedVerbChains = []
          for clauseID in clauses:
              clause = clauses[clauseID]
              self.extendChainsInClause(clause, clauseID, foundChains)
docs: Rakendab meetodit self.extendChainsInClause() antud lause igal osalausel.