parameters: (self, data_iterator)
docstring: Train search task by providing an iterator of examples.
  
          Args:
              data_iterator: iterable objects
                  Consists of examples to be learned
docstring_summary: Train search task by providing an iterator of examples.
docstring_tokens: Train search task by providing an iterator of examples .
function: def learn(self, data_iterator):
          """Train search task by providing an iterator of examples.
  
          Args:
              data_iterator: iterable objects
                  Consists of examples to be learned
          """
          for my_example in data_iterator.__iter__():
              self._call_vw(my_example, isTest=False)
function_tokens: def learn ( self , data_iterator ) : for my_example in data_iterator . __iter__ ( ) : self . _call_vw ( my_example , isTest = False )