def setUp(self):
newsdata = fetch_20newsgroups(data_home="<STR_LIT>")<EOL>self.ids = [str(i) for i in range(len(newsdata.target))]<EOL>self.texts = newsdata.data<EOL>self.labels = [newsdata.target_names[idx] for idx in newsdata.target]<EOL>self.tc = TextClassifier(self.texts, self.ids)<EOL>
Carga de los datos de prueba (20 Newsgroups corpus).