def humanize(self, lower_case_and_underscored_word):
    if len(lower_case_and_underscored_word) >= 3 and lower_case_and_underscored_word[-3:] == '_id':
      lower_case_and_underscored_word = lower_case_and_underscored_word[:-3]
    return lower_case_and_underscored_word.replace('_',' ').capitalize()
Capitalizes the first word and turns underscores into spaces and strips _id.
dataset/ETHPy150Open rsms/smisk/lib/smisk/inflection/__init__.py/Inflector.humanize