def singularize(self, word):
    word = unicode(word)
    if word.lower() in self.uncountables:
      return word
    else:
      for (rule, replacement) in self.singulars:
        m = rule.subn(replacement, word)
        if m[1] > 0:
          return m[0]
    return word
Column
dataset/ETHPy150Open rsms/smisk/lib/smisk/inflection/__init__.py/Inflector.singularize--crossover with--dataset/ETHPy150Open skariel/webalchemy/webalchemy/stacker_wrappers/bootstrap_3/bootstrap3_wrapper.py/BootstrapShortcuts.col