def extract_one_word_cat(str_list): if len(str_list) == 0: return '' else: return Misc.extract_first_word(str_list[0])