Esempio n. 1
0
 def get_oov_count_filename(self):
     return fh.make_filename(fh.makedirs(self.dirname), 'oov_counts', 'json')
Esempio n. 2
0
 def get_index_filename(self):
     return fh.make_filename(fh.makedirs(self.get_dirname()), 'index', 'json')
Esempio n. 3
0
 def get_feature_filename(self):
     return fh.make_filename(fh.makedirs(self.dirname), 'counts', 'pkl')
Esempio n. 4
0
 def get_vocab_filename(self):
     return fh.make_filename(fh.makedirs(self.get_dirname()), 'vocab', 'json')