def update(self, lemma_object):
     method_name = 'LemmaMapper.update'
     log.info('{}: initialization.'.format(method_name))
     query = Lemmas.update(lemma=lemma_object.lemma, 
                          pos_id=lemma_object.pos_id, syllables=lemma_object.syllables, 
                          length=lemma_object.length).where(Lemmas.id==lemma_object.id)
     log.info('{}: end.'.format(method_name))
     if query.execute() != 1: return True
     else: return False
 def update(self, lemma_object):
     method_name = 'LemmaMapper.update'
     log.info('{}: initialization.'.format(method_name))
     query = Lemmas.update(
         lemma=lemma_object.lemma,
         pos_id=lemma_object.pos_id,
         syllables=lemma_object.syllables,
         length=lemma_object.length).where(Lemmas.id == lemma_object.id)
     log.info('{}: end.'.format(method_name))
     if query.execute() != 1: return True
     else: return False