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, foundChains)
def extendChainsInSentence ( self , sentence , foundChains ) : clauses = getClausesByClauseIDs ( sentence ) allDetectedVerbChains = [ ] for clauseID in clauses : clause = clauses [ clauseID ] self . extendChainsInClause ( clause , clauseID , foundChains )
Rakendab meetodit self.extendChainsInClause() antud lause igal osalausel.