(self, example_list)
Store the original article and abstract strings in the Batch object
Store the original article and abstract strings in the Batch object
Store the original article and abstract strings in the Batch object
def store_orig_strings(self, example_list):
    """Store the original article and abstract strings in the Batch object"""
    self.original_articles = [ex.original_article for ex in example_list] # list of lists
    self.original_abstracts = [ex.original_abstract for ex in example_list] # list of lists
    self.original_abstracts_sents = [ex.original_abstract_sents for ex in example_list]
def store_orig_strings ( self , example_list ) : self . original_articles = [ ex . original_article for ex in example_list ] # list of lists self . original_abstracts = [ ex . original_abstract for ex in example_list ] # list of lists self . original_abstracts_sents = [ ex . original_abstract_sents for ex in example_list ]