parameters: (self)
docstring: sets up a loop to cluster until a stability is achieved
docstring_summary: sets up a loop to cluster until a stability is achieved
docstring_tokens: sets up a loop to cluster until a stability is achieved
function: def cluster_until_stable(self):
          ''' sets up a loop to cluster until a stability is achieved '''
          print "clustering (round %d)" % self.iterations 
          while(self.hasNext):
              self.cluster()
function_tokens: def cluster_until_stable ( self ) : print "clustering (round %d)" % self . iterations while ( self . hasNext ) : self . cluster ( )