code: def _palatalize(word):
      if word[-2:] in ("ci", "ce", "či", "če"):
          return word[:-2] + "k"
  
      if word[-2:] in ("zi", "ze", "ži", "že"):
          return word[:-2] + "h"
  
      if word[-3:] in ("čtě", "čti", "čtí"):
          return word[:-3] + "ck"
  
      if word[-3:] in ("ště", "šti", "ští"):
          return word[:-3] + "sk"
  
      return word[:-1]
  
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 8 for calling a global function with example usage: _palatalize(word) and returns: word, unknown, unknown, unknown, unknown