code: def copy_analysis_dict( analysis ):
      ''' Creates a copy from given analysis dict. '''
      assert isinstance(analysis, dict), "(!) Input 'analysis' should be a dict!"
      new_dict = { POSTAG: analysis[POSTAG],\
                   ROOT: analysis[ROOT],\
                   FORM: analysis[FORM],\
                   CLITIC: analysis[CLITIC],\
                   ENDING: analysis[ENDING] }
      if LEMMA in analysis:
         new_dict[LEMMA] = analysis[LEMMA]
      if ROOT_TOKENS in analysis:
         new_dict[ROOT_TOKENS] = analysis[ROOT_TOKENS]
      return new_dicf copy_analysis_dict( analysis ):
      ''' Creates a copy from given analysis dict. '''
      assert isinstance(analysis, dict), "(!) Input 'analysis' should be a dict!"
      new_dict = { POSTAG: analysis[POSTAG],\
                   ROOT: analysis[ROOT],\
                   FORM: analysis[FORM],\
                   CLITIC: analysis[CLITIC],\
                   ENDING: analysis[ENDING] }
      if LEMMA in analysis:
         new_dict[LEMMA] = analysis[LEMMA]
      if ROOT_TOKENS in analysis:
         new_dict[ROOT_TOKENS] = analysis[ROOT_TOKENS]
      return new_dict
docs: Creates a copy from given analysis dict.