code: def get_name_from_module_dict_key(
      key: str,
      feature_name_suffix_length: int = FEATURE_NAME_SUFFIX_LENGTH,
  ) -> str:
      """Reverse of get_module_dict_key_from_name."""
      name = key.replace("__ludwig_punct_period__", ".")
      return name[:-feature_name_suffix_length]
  
imports: import re
  from typing import Dict, List, Optional, Tuple, Union
  import numpy
  import torch
  from ludwig.constants import NAME, PREPROCESSING, SEQUENCE, TEXT, TIMESERIES, TYPE
  from ludwig.utils.data_utils import hash_dict
  from ludwig.utils.strings_utils import get_tokenizer_from_registry, UNKNOWN_SYMBOL
label_desc: Use image node_id 9 for calling a global function with example usage: get_name_from_module_dict_key(key, feature_name_suffix_length) and returns: name