code: def _matchremove_simple_endings(self, word):
          
  
          was_stemmed = False
  
          # noun, adjective, and adverb word endings sorted by charlen, then alph
          simple_endings = ['ibus',
                              'ius',
                              'ae',
                              'am',
                              'as',
                              'em',
                              'es',
                              'ia',
                              'is',
                              'nt',
                              'os',
                              'ud',
                              'um',
                              'us',
                              'a',
                              'e',
                              'i',
                              'o',
                              'u']
  
          for ending in simple_endings:
              if word.endswith(ending):
                  word = re.sub(r'{0}$'.format(ending), '', word)
                  was_stemmed = True
                  break
  
          return word, was_stemmed
docs: Remove the noun, adjective, adverb word endings