code: def _remove_derivational(word):
      if len(word) > 8 and word.endswith("obinec"):
          return word[:-6]
      if len(word) > 7:
          if word.endswith("ionář"):
              return _palatalize(word[:-4])
          if word[-5:] in ("ovisk", "ovstv", "ovišt", "ovník"):
              return word[:-5]
      if len(word) > 6:
          if word[-4:] in (
              "ásek",
              "loun",
              "nost",
              "teln",
              "ovec",
              "ovík",
              "ovtv",
              "ovin",
              "štin",
          ):
              return word[:-4]
          if word[-4:] in ("enic", "inec", "itel"):
              return _palatalize(word[:-3])
      if len(word) > 5:
          if word.endswith("árn"):
              return word[:-3]
          if word[-3:] in (
              "ěnk",
              "ián",
              "ist",
              "isk",
              "išt",
              "itb",
              "írn",
          ):
              return _palatalize(word[:-2])
          if word[-3:] in (
              "och",
              "ost",
              "ovn",
              "oun",
              "out",
              "ouš",
              "ušk",
              "kyn",
              "čan",
              "kář",
              "néř",
              "ník",
              "ctv",
              "stv",
          ):
              return word[:-3]
      if len(word) > 4:
          if word[-2:] in ("áč", "ač", "án", "an", "ář", "as"):
              return word[:-2]
          if word[-2:] in (
              "ec",
              "en",
              "ěn",
              "éř",
              "íř",
              "ic",
              "in",
              "ín",
              "it",
              "iv",
          ):
              return _palatalize(word[:-1])
          if word[-2:] in (
              "ob",
              "ot",
              "ov",
              "oň",
              "ul",
              "yn",
              "čk",
              "čn",
              "dl",
              "nk",
              "tv",
              "tk",
              "vk",
          ):
              return word[:-2]
      if len(word) > 3 and word[-1] in "cčklnt":
          return word[:-1]
      return word
  
file_path: sumy/sumy/nlp/stemmers/czech.py
imports: from __future__ import absolute_import
  from __future__ import division, print_function, unicode_literals
  import re
  from warnings import warn
  from ..._compat import unicode
label_desc: Use image node_id 7 for calling a global function with example usage: _remove_derivational(word) and returns: word, word, word, _palatalize, word, word, _palatalize, word, _palatalize, word, word, _palatalize, word