code: def _matchremove_simple_endings(word):
      """Remove the noun, adjective, adverb word endings"""
  
      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
  
imports: import re
  from cltk.stops.lat import STOPS
label_desc: Use image node_id 2 for calling a global function with example usage: _matchremove_simple_endings(word) and returns: word,  was_stemmed