def gets(self):
     method_name = 'PartOfSpeechMapper.gets'
     log.info('{}: initialization.'.format(method_name))
     pos = []
     for db_pos in PartsOfSpeech.select():
         pos.append(self.mapper(db_pos));
     log.info('{}: end.'.format(method_name))
     return pos
Esempio n. 2
0
 def gets(self):
     method_name = 'PartOfSpeechMapper.gets'
     log.info('{}: initialization.'.format(method_name))
     pos = []
     for db_pos in PartsOfSpeech.select():
         pos.append(self.mapper(db_pos))
     log.info('{}: end.'.format(method_name))
     return pos