Esempio n. 1
0
 def save(self):
     """
     save model objects in self.path
     """
     sbd_util.save_pickle(self.feats, self.path + 'feats')
     sbd_util.save_pickle(self.lower_words, self.path + 'lower_words')
     sbd_util.save_pickle(self.non_abbrs, self.path + 'non_abbrs')
Esempio n. 2
0
 def save(self):
     """
     save model objects in self.path
     """
     sbd_util.save_pickle(self.feats, self.path + 'feats')
     sbd_util.save_pickle(self.lower_words, self.path + 'lower_words')
     sbd_util.save_pickle(self.non_abbrs, self.path + 'non_abbrs')